Class LeafDoubleFieldData
org.elasticsearch.index.fielddata.plain.LeafDoubleFieldData
- All Implemented Interfaces:
,
,
org.apache.lucene.util.Accountable
,org.elasticsearch.core.Releasable
,LeafFieldData
,LeafNumericFieldData
- Direct Known Subclasses:
DoubleScriptFieldData.DoubleScriptLeafFieldData
Specialization of
LeafNumericFieldData
for floating-point numerics.-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static LeafNumericFieldData
empty(int maxDoc)
Return a String representation of the values.getFormattedValues(DocValueFormat format)
Return a formatted representation of the valuesorg.apache.lucene.index.SortedNumericDocValues
Get an integer view of the values of this segment.>
Returns 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
getDoubleValues
-
Constructor Details
-
LeafDoubleFieldData
protected LeafDoubleFieldData(long ramBytesUsed)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
getScriptValues
public final > 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
-
getLongValues
public final org.apache.lucene.index.SortedNumericDocValues getLongValues()Description copied from interface:LeafNumericFieldData
Get an integer view of the values of this segment. If the implementation stores floating-point numbers then these values will return the same values but casted to longs.- Specified by:
getLongValues
in interfaceLeafNumericFieldData
-
empty
-
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
-