Class DoubleScriptFieldData.DoubleScriptLeafFieldData

java.lang.Object
org.elasticsearch.index.fielddata.plain.LeafDoubleFieldData
org.elasticsearch.index.fielddata.DoubleScriptFieldData.DoubleScriptLeafFieldData
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, org.apache.lucene.util.Accountable, org.elasticsearch.common.lease.Releasable, LeafFieldData, LeafNumericFieldData
Enclosing class:
DoubleScriptFieldData

public static class DoubleScriptFieldData.DoubleScriptLeafFieldData
extends LeafDoubleFieldData
  • Field Summary

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

    NULL_ACCOUNTABLE
  • Method Summary

    Modifier and Type Method Description
    void close()  
    SortedNumericDoubleValues getDoubleValues()
    Return a floating-point view of the values in this segment.

    Methods inherited from class org.elasticsearch.index.fielddata.plain.LeafDoubleFieldData

    empty, getBytesValues, getFormattedValues, getLongValues, getScriptValues, ramBytesUsed

    Methods inherited from class java.lang.Object

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

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

    getChildResources
  • Method Details

    • getDoubleValues

      public 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.
    • 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
      Overrides:
      close in class LeafDoubleFieldData