Class SortingNumericDoubleValues

java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericDoubleValues
org.elasticsearch.index.fielddata.SortingNumericDoubleValues
Direct Known Subclasses:
ScriptDoubleValues

public abstract class SortingNumericDoubleValues
extends SortedNumericDoubleValues
Base class for building SortedNumericDoubleValues instances based on unsorted content.
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected double[] values  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected SortingNumericDoubleValues()  
  • Method Summary

    Modifier and Type Method Description
    int docValueCount()
    Retrieves the number of values for the current document.
    double nextValue()
    Iterates to the next value in the current document.
    protected void resize​(int newSize)
    Set the docValueCount() and ensure that the values array can store at least that many entries.
    protected void sort()
    Sort values that are stored between offsets 0 and docValueCount() of values.

    Methods inherited from class org.elasticsearch.index.fielddata.SortedNumericDoubleValues

    advanceExact

    Methods inherited from class java.lang.Object

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