Class GroupingNode
java.lang.Object
com.yahoo.search.grouping.request.GroupingNode
- Direct Known Subclasses:
GroupingExpression
,GroupingOperation
This is the abstract super class of both
GroupingOperation
and GroupingExpression
. All nodes can be
assigned a String
label which in turn can be used to identify the corresponding result objects.- Author:
- Simon Thoresen Hult
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GroupingNode
-
-
Method Details
-
getLabel
Returns the label assigned to this grouping expression.- Returns:
- The label string.
-
getImage
-
setLabel
Assigns a label to this grouping expression. The label is applied to the results of this expression so that they can be identified by the caller when processing the output.- Parameters:
str
- The label to assign to this.- Returns:
- This, to allow chaining.
-
toString
-