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 void
close()
SortedBinaryDocValues
getBytesValues()
Return a String representation of the values.java.util.Collection<org.apache.lucene.util.Accountable>
getChildResources()
ScriptDocValues.Strings
getScriptValues()
Returns field values for use in scripting.long
ramBytesUsed()
-
Constructor Details
-
BinaryDVLeafFieldData
public BinaryDVLeafFieldData(org.apache.lucene.index.LeafReader reader, java.lang.String field)
-
-
Method Details
-
getBytesValues
Description copied from interface:LeafFieldData
Return a String representation of the values.- Specified by:
getBytesValues
in interfaceLeafFieldData
-
getScriptValues
Description copied from interface:LeafFieldData
Returns field values for use in scripting.- Specified by:
getScriptValues
in interfaceLeafFieldData
-
close
public void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceReleasable
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
getChildResources
public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()- Specified by:
getChildResources
in interfaceorg.apache.lucene.util.Accountable
-