Class LeafDoubleFieldData

java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafDoubleFieldData
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.lucene.util.Accountable, Releasable, LeafFieldData, LeafNumericFieldData
Direct Known Subclasses:
DoubleScriptFieldData.DoubleScriptLeafFieldData

public abstract class LeafDoubleFieldData extends Object implements LeafNumericFieldData
Specialization of LeafNumericFieldData for floating-point numerics.
  • Constructor Details

    • LeafDoubleFieldData

      public LeafDoubleFieldData()
  • Method Details

    • ramBytesUsed

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

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

      public final org.apache.lucene.index.SortedNumericDocValues getLongValues()
      Description copied from interface: LeafNumericFieldData
      Get an integer view of the values of this segment. If the implementation stores floating-point numbers then these values will return the same values but casted to longs.
      Specified by:
      getLongValues in interface LeafNumericFieldData
    • getFormattedValues

      public FormattedDocValues getFormattedValues(DocValueFormat format)
      Description copied from interface: LeafFieldData
      Return a formatted representation of the values
      Specified by:
      getFormattedValues in interface LeafFieldData