Class BinaryDVLeafFieldData
java.lang.Object
org.elasticsearch.index.fielddata.plain.BinaryDVLeafFieldData
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.apache.lucene.util.Accountable,Releasable,LeafFieldData
public class BinaryDVLeafFieldData extends java.lang.Object implements LeafFieldData
LeafFieldData impl on top of Lucene's binary doc values.-
Constructor Summary
Constructors Constructor Description BinaryDVLeafFieldData(org.apache.lucene.index.LeafReader reader, java.lang.String field) -
Method Summary
Modifier and Type Method Description voidclose()SortedBinaryDocValuesgetBytesValues()Return a String representation of the values.java.util.Collection<org.apache.lucene.util.Accountable>getChildResources()ScriptDocValues.StringsgetScriptValues()Returns field values for use in scripting.longramBytesUsed()
-
Constructor Details
-
BinaryDVLeafFieldData
public BinaryDVLeafFieldData(org.apache.lucene.index.LeafReader reader, java.lang.String field)
-
-
Method Details
-
getBytesValues
Description copied from interface:LeafFieldDataReturn a String representation of the values.- Specified by:
getBytesValuesin interfaceLeafFieldData
-
getScriptValues
Description copied from interface:LeafFieldDataReturns field values for use in scripting.- Specified by:
getScriptValuesin interfaceLeafFieldData
-
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceReleasable
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
getChildResources
public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()- Specified by:
getChildResourcesin interfaceorg.apache.lucene.util.Accountable
-