Class ScriptBytesValues

java.lang.Object
All Implemented Interfaces:
ScorerAware

public class ScriptBytesValues
extends SortingBinaryDocValues
implements ScorerAware
SortedBinaryDocValues implementation that reads values from a script.
  • Field Summary

    Fields inherited from class org.elasticsearch.index.fielddata.SortingBinaryDocValues

    count, values
  • Constructor Summary

    Constructors
    Constructor Description
    ScriptBytesValues​(AggregationScript script)  
  • Method Summary

    Modifier and Type Method Description
    boolean advanceExact​(int doc)
    Advance this instance to the given document id
    void setScorer​(org.apache.lucene.search.Scorable scorer)  

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

    docValueCount, grow, nextValue, sort

    Methods inherited from class java.lang.Object

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

  • Method Details

    • advanceExact

      public boolean advanceExact​(int doc) throws java.io.IOException
      Description copied from class: SortedBinaryDocValues
      Advance this instance to the given document id
      Specified by:
      advanceExact in class SortedBinaryDocValues
      Returns:
      true if there is a value for this document
      Throws:
      java.io.IOException
    • setScorer

      public void setScorer​(org.apache.lucene.search.Scorable scorer)
      Specified by:
      setScorer in interface ScorerAware