Class LeafLongFieldData
org.elasticsearch.index.fielddata.plain.LeafLongFieldData
- All Implemented Interfaces:
,
,
org.apache.lucene.util.Accountable
,org.elasticsearch.core.Releasable
,LeafFieldData
,LeafNumericFieldData
- Direct Known Subclasses:
BooleanScriptFieldData.BooleanScriptLeafFieldData
,DateScriptFieldData.DateScriptLeafFieldData
,LongScriptFieldData.LongScriptLeafFieldData
,SortedNumericIndexFieldData.NanoSecondFieldData
Specialization of
LeafNumericFieldData
for integers.-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
ModifierConstructorDescriptionprotected
LeafLongFieldData(long ramBytesUsed, IndexNumericFieldData.NumericType numericType)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Return a String representation of the values.Return a floating-point view of the values in this segment.getFormattedValues(DocValueFormat format)
Return a formatted representation of the valuesReturns field values for use in scripting.long
Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
Methods inherited from interface org.elasticsearch.index.fielddata.LeafNumericFieldData
getLongValues
-
Constructor Details
-
LeafLongFieldData
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
getScriptValues
Description copied from interface:LeafFieldData
Returns field values for use in scripting.- Specified by:
getScriptValues
in interfaceLeafFieldData
-
getBytesValues
Description copied from interface:LeafFieldData
Return a String representation of the values.- Specified by:
getBytesValues
in interfaceLeafFieldData
-
getDoubleValues
Description copied from interface:LeafNumericFieldData
Return a floating-point view of the values in this segment. If the implementation stored integers then the returned doubles would be the same ones as you would get from casting to a double.- Specified by:
getDoubleValues
in interfaceLeafNumericFieldData
-
getFormattedValues
Description copied from interface:LeafFieldData
Return a formatted representation of the values- Specified by:
getFormattedValues
in interfaceLeafFieldData
-
close
public void close()- Specified by:
in interface
- Specified by:
in interface
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-