Class LongFieldDescriptor
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
-
- com.atlassian.confluence.plugins.index.api.LongFieldDescriptor
-
@Deprecated public final class LongFieldDescriptor extends FieldDescriptor
Deprecated.since 8.6. UseLongFieldMapping.createField(long)
insteadField 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 FieldMapping
mapping
protected String
value
-
Fields inherited from class com.atlassian.confluence.plugins.index.api.FieldDescriptor
rawValue
-
-
Constructor Summary
Constructors Constructor Description LongFieldDescriptor(LongFieldMapping mapping, long value)
Deprecated.LongFieldDescriptor(String name, long value, FieldDescriptor.Store store)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> T
accept(FieldVisitor<T> fieldVisitor)
Deprecated.boolean
equals(Object o)
FieldDescriptor.Index
getIndex()
FieldMapping
getMapping()
String
getName()
Object
getRawValue()
Deprecated.FieldDescriptor.Store
getStore()
String
getValue()
int
hashCode()
long
longValue()
Deprecated.
-
-
-
Field Detail
-
mapping
protected final FieldMapping mapping
-
value
protected final String value
-
-
Constructor Detail
-
LongFieldDescriptor
public LongFieldDescriptor(LongFieldMapping mapping, long value)
Deprecated.
-
LongFieldDescriptor
public LongFieldDescriptor(String name, long value, FieldDescriptor.Store store)
Deprecated.
-
-
Method Detail
-
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
Deprecated.- Overrides:
accept
in classFieldDescriptor
-
longValue
public long longValue()
Deprecated.
-
getRawValue
public Object getRawValue()
Deprecated.- Overrides:
getRawValue
in classFieldDescriptor
- Returns:
- the raw Java value of this field before formatted into a string
-
getMapping
public FieldMapping getMapping()
-
getName
public String getName()
-
getValue
public String getValue()
-
getIndex
public FieldDescriptor.Index getIndex()
-
getStore
public FieldDescriptor.Store getStore()
-
-