Class LongFieldDescriptor
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
-
- com.atlassian.confluence.plugins.index.api.LongFieldDescriptor
-
public final class LongFieldDescriptor extends FieldDescriptor
Field that supports efficient sorting and range queries long values.- Since:
- 7.17
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.plugins.index.api.FieldDescriptor
FieldDescriptor.Index, FieldDescriptor.Store
-
-
Field Summary
Fields Modifier and Type Field Description protected FieldDescriptor.Index
index
protected String
name
protected FieldDescriptor.Store
store
protected String
value
-
Constructor Summary
Constructors Constructor Description LongFieldDescriptor(String name, long value, FieldDescriptor.Store store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(FieldVisitor<T> fieldVisitor)
boolean
equals(Object o)
FieldDescriptor.Index
getIndex()
String
getName()
FieldDescriptor.Store
getStore()
String
getValue()
int
hashCode()
long
longValue()
-
-
-
Field Detail
-
name
protected final String name
-
value
protected final String value
-
index
protected final FieldDescriptor.Index index
-
store
protected final FieldDescriptor.Store store
-
-
Constructor Detail
-
LongFieldDescriptor
public LongFieldDescriptor(String name, long value, FieldDescriptor.Store store)
-
-
Method Detail
-
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
- Overrides:
accept
in classFieldDescriptor
-
longValue
public long longValue()
-
getName
public String getName()
-
getValue
public String getValue()
-
getIndex
public FieldDescriptor.Index getIndex()
-
getStore
public FieldDescriptor.Store getStore()
-
-