Class LeafLongFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafLongFieldData
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.apache.lucene.util.Accountable,Releasable,LeafFieldData,LeafNumericFieldData
- Direct Known Subclasses:
SortedNumericIndexFieldData.NanoSecondFieldData
public abstract class LeafLongFieldData extends java.lang.Object implements LeafNumericFieldData
Specialization of
LeafNumericFieldData for integers.-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedLeafLongFieldData(long ramBytesUsed, IndexNumericFieldData.NumericType numericType) -
Method Summary
Modifier and Type Method Description voidclose()SortedBinaryDocValuesgetBytesValues()Return a String representation of the values.SortedNumericDoubleValuesgetDoubleValues()Return a floating-point view of the values in this segment.DocValueFetcher.LeafgetLeafValueFetcher(DocValueFormat format)Return a value fetcher for this leaf implementation.ScriptDocValues<?>getScriptValues()Returns field values for use in scripting.longramBytesUsed()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.index.fielddata.LeafNumericFieldData
getLongValues
-
Constructor Details
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
getScriptValues
Description copied from interface:LeafFieldDataReturns field values for use in scripting.- Specified by:
getScriptValuesin interfaceLeafFieldData
-
getBytesValues
Description copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceLeafFieldData
-
getDoubleValues
Description copied from interface:LeafNumericFieldDataReturn 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:
getDoubleValuesin interfaceLeafNumericFieldData
-
getLeafValueFetcher
Description copied from interface:LeafFieldDataReturn a value fetcher for this leaf implementation.- Specified by:
getLeafValueFetcherin interfaceLeafFieldData
-
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceReleasable
-