Class FunctionValues.ValueFiller

  • Enclosing class:
    FunctionValues

    public abstract static class FunctionValues.ValueFiller
    extends java.lang.Object
    Abstraction of the logic required to fill the value of a specified doc into a reusable MutableValue. Implementations of FunctionValues are encouraged to define their own implementations of ValueFiller if their value is not a float.
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueFiller()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void fillValue​(int doc)
      MutableValue will be reused across calls.
      abstract MutableValue getValue()
      MutableValue will be reused across calls
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ValueFiller

        public ValueFiller()
    • Method Detail

      • getValue

        public abstract MutableValue getValue()
        MutableValue will be reused across calls
      • fillValue

        public abstract void fillValue​(int doc)
        MutableValue will be reused across calls. Returns true if the value exists.