Class HistogramValues

java.lang.Object
org.elasticsearch.index.fielddata.HistogramValues

public abstract class HistogramValues
extends java.lang.Object
Per-segment histogram values.
  • Constructor Summary

    Constructors 
    Constructor Description
    HistogramValues()  
  • Method Summary

    Modifier and Type Method Description
    abstract boolean advanceExact​(int doc)
    Advance this instance to the given document id
    abstract HistogramValue histogram()
    Get the HistogramValue associated with the current document.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • advanceExact

      public abstract boolean advanceExact​(int doc) throws java.io.IOException
      Advance this instance to the given document id
      Returns:
      true if there is a value for this document
      Throws:
      java.io.IOException
    • histogram

      public abstract HistogramValue histogram() throws java.io.IOException
      Get the HistogramValue associated with the current document. The returned HistogramValue might be reused across calls.
      Throws:
      java.io.IOException