Class XorAggregator
java.lang.Object
com.yahoo.search.grouping.request.GroupingNode
com.yahoo.search.grouping.request.GroupingExpression
com.yahoo.search.grouping.request.AggregatorNode
com.yahoo.search.grouping.request.XorAggregator
This class represents an xor-aggregator in a
GroupingExpression. It evaluates to the xor of the values that
the contained expression evaluated to over all the inputs.- Author:
- Simon Thoresen Hult, bratseth
-
Constructor Summary
ConstructorsConstructorDescriptionXorAggregator(GroupingExpression expression) Constructs a new instance of this class. -
Method Summary
Methods inherited from class com.yahoo.search.grouping.request.AggregatorNode
getExpression, resolveLevel, visitMethods inherited from class com.yahoo.search.grouping.request.GroupingExpression
asImage, asString, getLevel, getLevelOrNull, setLabelMethods inherited from class com.yahoo.search.grouping.request.GroupingNode
getImage, getLabel, toString
-
Constructor Details
-
XorAggregator
Constructs a new instance of this class.- Parameters:
expression- the expression to aggregate on.
-
-
Method Details
-
copy
Description copied from class:GroupingExpressionReturns a deep copy of this- Specified by:
copyin classGroupingExpression
-