Class ExpressionFunctionValues

java.lang.Object
org.apache.lucene.search.DoubleValues
org.apache.lucene.expressions.ExpressionFunctionValues

class ExpressionFunctionValues extends DoubleValues
A DoubleValues which evaluates an expression
  • Field Details

    • expression

      final Expression expression
    • functionValues

      final DoubleValues[] functionValues
    • currentValue

      double currentValue
    • currentDoc

      int currentDoc
    • computed

      boolean computed
  • Constructor Details

  • Method Details

    • advanceExact

      public boolean advanceExact(int doc)
      Description copied from class: DoubleValues
      Advance this instance to the given document id
      Specified by:
      advanceExact in class DoubleValues
      Returns:
      true if there is a value for this document
    • doubleValue

      public double doubleValue() throws IOException
      Description copied from class: DoubleValues
      Get the double value for the current document
      Specified by:
      doubleValue in class DoubleValues
      Throws:
      IOException