Interface LeafFieldData

All Superinterfaces:
org.apache.lucene.util.Accountable, java.lang.AutoCloseable, java.io.Closeable, Releasable
All Known Subinterfaces:
LeafGeoPointFieldData, LeafHistogramFieldData, LeafNumericFieldData, LeafOrdinalsFieldData
All Known Implementing Classes:
AbstractLeafGeoPointFieldData, AbstractLeafOrdinalsFieldData, BinaryDVLeafFieldData, LeafDoubleFieldData, LeafLongFieldData, PagedBytesLeafFieldData, SortedNumericIndexFieldData.NanoSecondFieldData, SortedSetBytesLeafFieldData

public interface LeafFieldData
extends org.apache.lucene.util.Accountable, Releasable
The thread safe LeafReader level cache of the data.
  • Field Summary

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

    NULL_ACCOUNTABLE
  • Method Summary

    Modifier and Type Method Description
    SortedBinaryDocValues getBytesValues()
    Return a String representation of the values.
    default FormattedDocValues getFormattedValues​(DocValueFormat format)
    Return a formatted representation of the values
    ScriptDocValues<?> getScriptValues()
    Returns field values for use in scripting.

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

    getChildResources, ramBytesUsed

    Methods inherited from interface org.elasticsearch.common.lease.Releasable

    close
  • Method Details

    • getScriptValues

      ScriptDocValues<?> getScriptValues()
      Returns field values for use in scripting.
    • getBytesValues

      SortedBinaryDocValues getBytesValues()
      Return a String representation of the values.
    • getFormattedValues

      default FormattedDocValues getFormattedValues​(DocValueFormat format)
      Return a formatted representation of the values