Class DoubleFieldDescriptor
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
-
- com.atlassian.confluence.plugins.index.api.DoubleFieldDescriptor
-
public final class DoubleFieldDescriptor extends FieldDescriptor
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 FieldDescriptor.Index
index
protected String
name
protected FieldDescriptor.Store
store
protected String
value
-
Constructor Summary
Constructors Constructor Description DoubleFieldDescriptor(String name, double value, FieldDescriptor.Store store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(FieldVisitor<T> fieldVisitor)
double
doubleValue()
boolean
equals(Object o)
FieldDescriptor.Index
getIndex()
String
getName()
FieldDescriptor.Store
getStore()
String
getValue()
int
hashCode()
-
-
-
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
-
DoubleFieldDescriptor
public DoubleFieldDescriptor(String name, double value, FieldDescriptor.Store store)
-
-
Method Detail
-
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
- Overrides:
accept
in classFieldDescriptor
-
doubleValue
public double doubleValue()
-
getName
public String getName()
-
getValue
public String getValue()
-
getIndex
public FieldDescriptor.Index getIndex()
-
getStore
public FieldDescriptor.Store getStore()
-
-