Class NumericDocValuesFieldDescriptor
- java.lang.Object
 - 
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
 - 
- com.atlassian.confluence.plugins.index.api.NumericDocValuesFieldDescriptor
 
 
 
- 
@Deprecated public final class NumericDocValuesFieldDescriptor extends FieldDescriptor
Deprecated.since 8.6. UseLongFieldMapping.createField(long)insteadField that stores a per-document long value for scoring, sorting or value retrieval.- Since:
 - 2.1
 
 
- 
- 
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 NumericDocValuesFieldDescriptor(LongFieldMapping mapping, long longValue)Deprecated.NumericDocValuesFieldDescriptor(String name, long longValue)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> Taccept(FieldVisitor<T> fieldVisitor)Deprecated.booleanequals(Object o)FieldDescriptor.IndexgetIndex()FieldMappinggetMapping()StringgetName()ObjectgetRawValue()Deprecated.FieldDescriptor.StoregetStore()Deprecated.StringgetValue()inthashCode()longlongValue()Deprecated. 
 - 
 
- 
- 
Field Detail
- 
mapping
protected final FieldMapping mapping
 
- 
value
protected final String value
 
 - 
 
- 
Constructor Detail
- 
NumericDocValuesFieldDescriptor
public NumericDocValuesFieldDescriptor(LongFieldMapping mapping, long longValue)
Deprecated. 
- 
NumericDocValuesFieldDescriptor
public NumericDocValuesFieldDescriptor(String name, long longValue)
Deprecated. 
 - 
 
- 
Method Detail
- 
getStore
public FieldDescriptor.Store getStore()
Deprecated. 
- 
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
Deprecated.- Overrides:
 acceptin classFieldDescriptor
 
- 
longValue
public long longValue()
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()
 
 - 
 
 -