Class SortingBinaryDocValues

java.lang.Object
org.elasticsearch.index.fielddata.SortedBinaryDocValues
org.elasticsearch.index.fielddata.SortingBinaryDocValues
Direct Known Subclasses:
ScriptBytesValues

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

    Fields
    Modifier and Type Field Description
    protected int count  
    protected org.apache.lucene.util.BytesRefBuilder[] values  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected SortingBinaryDocValues()  
  • Method Summary

    Modifier and Type Method Description
    int docValueCount()
    Retrieves the number of values for the current document.
    protected void grow()
    Make sure the values array can store at least count entries.
    org.apache.lucene.util.BytesRef nextValue()
    Iterates to the next value in the current document.
    protected void sort()
    Sort values that are stored between offsets 0 and count of values.

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

    advanceExact

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • count

      protected int count
    • values

      protected org.apache.lucene.util.BytesRefBuilder[] values
  • Constructor Details

    • SortingBinaryDocValues

      protected SortingBinaryDocValues()
  • Method Details