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.
  • Field Summary

    Fields inherited from interface org.apache.lucene.util.Accountable

    NULL_ACCOUNTABLE
  • 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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.index.fielddata.LeafFieldData

    getFormattedValues
  • Constructor Details

    • BinaryDVLeafFieldData

      public BinaryDVLeafFieldData​(org.apache.lucene.index.LeafReader reader, java.lang.String field)
  • Method Details

    • getBytesValues

      public SortedBinaryDocValues getBytesValues()
      Description copied from interface: LeafFieldData
      Return a String representation of the values.
      Specified by:
      getBytesValues in interface LeafFieldData
    • getScriptValues

      public ScriptDocValues.Strings getScriptValues()
      Description copied from interface: LeafFieldData
      Returns field values for use in scripting.
      Specified by:
      getScriptValues in interface LeafFieldData
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Specified by:
      close in interface Releasable
    • ramBytesUsed

      public long ramBytesUsed()
      Specified by:
      ramBytesUsed in interface org.apache.lucene.util.Accountable
    • getChildResources

      public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources()
      Specified by:
      getChildResources in interface org.apache.lucene.util.Accountable