Class EachOperation
java.lang.Object
com.yahoo.search.grouping.request.GroupingNode
com.yahoo.search.grouping.request.GroupingOperation
com.yahoo.search.grouping.request.EachOperation
This is a grouping operation that processes each element of the input list separately, as opposed to
AllOperation
which processes that list as a whole.- Author:
- Simon Thoresen Hult, bratseth
-
Field Summary
Fields inherited from class com.yahoo.search.grouping.request.GroupingOperation
UNLIMITED_MAX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy
(GroupingOperation parentOfCopy) Returns a deep copy of thisvoid
resolveLevel
(int level) Resolves the conceptual level of this operation.Methods inherited from class com.yahoo.search.grouping.request.GroupingOperation
addChild, addChildren, addHint, addOrderBy, addOrderBy, addOutput, addOutputs, containsHint, fromString, fromStringAsList, getAccuracy, getAlias, getAliases, getChild, getChildren, getForceSinglePass, getGroupBy, getHints, getLevel, getLevelDesc, getMax, getNumChildren, getNumOrderBy, getNumOutputs, getOrderBy, getOrderBy, getOutput, getOutputs, getParent, getPrecision, getWhere, hasMax, hasUnlimitedMax, putAlias, setAccuracy, setForceSinglePass, setGroupBy, setLabel, setMax, setPrecision, setWhere, toString, visitExpressions
Methods inherited from class com.yahoo.search.grouping.request.GroupingNode
getImage, getLabel
-
Constructor Details
-
EachOperation
public EachOperation()Constructs a new instance of this class.
-
-
Method Details
-
copy
Description copied from class:GroupingOperation
Returns a deep copy of this- Specified by:
copy
in classGroupingOperation
-
resolveLevel
public void resolveLevel(int level) Description copied from class:GroupingOperation
Resolves the conceptual level of this operation. This level represents the type of data that is consumed by this operation, 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 operation type, and recursively resolves the level of all argument expressions.- Overrides:
resolveLevel
in classGroupingOperation
- Parameters:
level
- the level of the input data
-