Class MinAggregator
- 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.MinAggregator
-
public class MinAggregator extends AggregatorNode
This class represents an minimum-aggregator in aGroupingExpression
. It evaluates to the minimum value that the contained expression evaluated to over all the inputs.- Author:
- Simon Thoresen Hult, bratseth
-
-
Constructor Summary
Constructors Constructor Description MinAggregator(GroupingExpression expression)
Constructs a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinAggregator
copy()
Returns a deep copy of this-
Methods inherited from class com.yahoo.search.grouping.request.AggregatorNode
getExpression, resolveLevel, visit
-
Methods inherited from class com.yahoo.search.grouping.request.GroupingExpression
asImage, asString, getLevel, getLevelOrNull, setLabel
-
Methods inherited from class com.yahoo.search.grouping.request.GroupingNode
getImage, getLabel, toString
-
-
-
-
Constructor Detail
-
MinAggregator
public MinAggregator(GroupingExpression expression)
Constructs a new instance of this class.- Parameters:
expression
- the expression to aggregate on.
-
-
Method Detail
-
copy
public MinAggregator copy()
Description copied from class:GroupingExpression
Returns a deep copy of this- Specified by:
copy
in classGroupingExpression
-
-