Class DoubleFieldDescriptor
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
-
- com.atlassian.confluence.plugins.index.api.DoubleFieldDescriptor
-
@Deprecated public final class DoubleFieldDescriptor extends FieldDescriptor
Deprecated.since 8.6. UseDoubleFieldMapping.createField(double)instead.Field that supports efficient sorting and range queries double 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 FieldMappingmappingprotected Stringvalue-
Fields inherited from class com.atlassian.confluence.plugins.index.api.FieldDescriptor
rawValue
-
-
Constructor Summary
Constructors Constructor Description DoubleFieldDescriptor(DoubleFieldMapping mapping, double value)Deprecated.DoubleFieldDescriptor(String name, double value, FieldDescriptor.Store store)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> Taccept(FieldVisitor<T> fieldVisitor)Deprecated.doubledoubleValue()Deprecated.booleanequals(Object o)FieldDescriptor.IndexgetIndex()FieldMappinggetMapping()StringgetName()ObjectgetRawValue()Deprecated.FieldDescriptor.StoregetStore()StringgetValue()inthashCode()
-
-
-
Field Detail
-
mapping
protected final FieldMapping mapping
-
value
protected final String value
-
-
Constructor Detail
-
DoubleFieldDescriptor
public DoubleFieldDescriptor(DoubleFieldMapping mapping, double value)
Deprecated.
-
DoubleFieldDescriptor
public DoubleFieldDescriptor(String name, double value, FieldDescriptor.Store store)
Deprecated.
-
-
Method Detail
-
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
Deprecated.- Overrides:
acceptin classFieldDescriptor
-
doubleValue
public double doubleValue()
Deprecated.
-
getRawValue
public Object getRawValue()
Deprecated.- Overrides:
getRawValuein 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()
-
-