Module org.elasticsearch.server
Class LeafDoubleFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafDoubleFieldData
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.lucene.util.Accountable
,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SortedBinaryDocValues
Return a String representation of the values.getFormattedValues
(DocValueFormat format) Return a formatted representation of the valuesfinal org.apache.lucene.index.SortedNumericDocValues
Get an integer view of the values of this segment.long
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
Methods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData
close, getScriptFieldFactory
Methods inherited from interface org.elasticsearch.index.fielddata.LeafNumericFieldData
getDoubleValues
-
Constructor Details
-
LeafDoubleFieldData
public LeafDoubleFieldData()
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
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
-
getFormattedValues
Description copied from interface:LeafFieldData
Return a formatted representation of the values- Specified by:
getFormattedValues
in interfaceLeafFieldData
-