Class LeafLongFieldData

java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafLongFieldData
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, org.apache.lucene.util.Accountable, org.elasticsearch.common.lease.Releasable, LeafFieldData, LeafNumericFieldData
Direct Known Subclasses:
BooleanScriptFieldData.BooleanScriptLeafFieldData, DateScriptFieldData.DateScriptLeafFieldData, LongScriptFieldData.LongScriptLeafFieldData, SortedNumericIndexFieldData.NanoSecondFieldData

public abstract class LeafLongFieldData
extends java.lang.Object
implements LeafNumericFieldData
Specialization of LeafNumericFieldData for integers.
  • Constructor Details

  • Method Details

    • ramBytesUsed

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

      public final ScriptDocValues<?> getScriptValues()
      Description copied from interface: LeafFieldData
      Returns field values for use in scripting.
      Specified by:
      getScriptValues in interface LeafFieldData
    • getBytesValues

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

      public final SortedNumericDoubleValues getDoubleValues()
      Description copied from interface: LeafNumericFieldData
      Return a floating-point view of the values in this segment. If the implementation stored integers then the returned doubles would be the same ones as you would get from casting to a double.
      Specified by:
      getDoubleValues 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
    • 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 org.elasticsearch.common.lease.Releasable