Class DocumentValue
java.lang.Object
com.yahoo.search.grouping.request.GroupingNode
com.yahoo.search.grouping.request.GroupingExpression
com.yahoo.search.grouping.request.DocumentValue
- Direct Known Subclasses:
ArrayAtLookup,AttributeFunction,AttributeValue,DocIdNsSpecificValue,InterpolatedLookup,RelevanceValue,SummaryValue
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidresolveLevel(int level) Resolves the conceptual level of this expression.Methods inherited from class com.yahoo.search.grouping.request.GroupingExpression
asImage, asString, copy, getLevel, getLevelOrNull, setLabel, visitMethods inherited from class com.yahoo.search.grouping.request.GroupingNode
getImage, getLabel, toString
-
Constructor Details
-
DocumentValue
-
-
Method Details
-
resolveLevel
public void resolveLevel(int level) Description copied from class:GroupingExpressionResolves 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:
resolveLevelin classGroupingExpression- Parameters:
level- The level of the input data.
-