Class BinaryDVLeafFieldData

All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.lucene.util.Accountable, org.elasticsearch.core.Releasable, LeafFieldData

public class BinaryDVLeafFieldData extends Object implements LeafFieldData
LeafFieldData impl on top of Lucene's binary doc values.
  • Constructor Details

    • BinaryDVLeafFieldData

      public BinaryDVLeafFieldData(org.apache.lucene.index.LeafReader reader, 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 AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable
    • ramBytesUsed

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

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