Class SortedNumericDoubleValues

org.elasticsearch.index.fielddata.SortedNumericDoubleValues
Direct Known Subclasses:
DoubleScriptDocValues, SortingNumericDoubleValues

public abstract class SortedNumericDoubleValues extends
Clone of SortedNumericDocValues for double values.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Sole constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract boolean
    advanceExact​(int target)
    Advance the iterator to exactly target and return whether target has a value.
    abstract int
    Retrieves the number of values for the current document.
    abstract double
    Iterates to the next value in the current document.

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • SortedNumericDoubleValues

      protected SortedNumericDoubleValues()
      Sole constructor. (For invocation by subclass constructors, typically implicit.)
  • Method Details

    • advanceExact

      public abstract boolean advanceExact(int target) throws
      Advance the iterator to exactly target and return whether target has a value. target must be greater than or equal to the current doc ID and must be a valid doc ID, ie. ≥ 0 and < maxDoc.
      Throws:
    • nextValue

      public abstract double nextValue() throws
      Iterates to the next value in the current document. Do not call this more than docValueCount() times for the document.
      Throws:
    • docValueCount

      public abstract int docValueCount()
      Retrieves the number of values for the current document. This must always be greater than zero. It is illegal to call this method after advanceExact(int) returned false.