Class DocumentValue

Direct Known Subclasses:
ArrayAtLookup, AttributeFunction, AttributeValue, DocIdNsSpecificValue, InterpolatedLookup, RelevanceValue, SummaryValue

public abstract class DocumentValue extends GroupingExpression
This class represents a document value in a GroupingExpression. As such, the subclasses of this can only be used as document-level expressions (i.e. level 0, see GroupingExpression.resolveLevel(int)).
Author:
Simon Thoresen Hult
  • Constructor Details

  • Method Details

    • resolveLevel

      public void resolveLevel(int level)
      Description copied from class: GroupingExpression
      Resolves the conceptual level of this expression. This level represents the type of data that is consumed by this expression, where level 0 is a single hit, level 1 is a group, level 2 is a list of groups, and so forth. This method verifies the input level against the expression type, and recursively resolves the level of all argument expressions.
      Overrides:
      resolveLevel in class GroupingExpression
      Parameters:
      level - The level of the input data.