Uses of Class
com.yahoo.search.grouping.request.GroupingOperation
-
Packages that use GroupingOperation Package Description com.yahoo.search.grouping com.yahoo.search.grouping.request -
-
Uses of GroupingOperation in com.yahoo.search.grouping
Methods in com.yahoo.search.grouping that return GroupingOperation Modifier and Type Method Description GroupingOperation
GroupingRequest. getRootOperation()
Returns the rootGroupingOperation
that defines this request.Methods in com.yahoo.search.grouping with parameters of type GroupingOperation Modifier and Type Method Description GroupingRequest
GroupingRequest. setRootOperation(GroupingOperation root)
Sets the rootGroupingOperation
that defines this request. -
Uses of GroupingOperation in com.yahoo.search.grouping.request
Subclasses of GroupingOperation in com.yahoo.search.grouping.request Modifier and Type Class Description class
AllOperation
This is a grouping operation that processes the input list as a whole, as opposed toEachOperation
which processes each element of that list separately.class
EachOperation
This is a grouping operation that processes each element of the input list separately, as opposed toAllOperation
which processes that list as a whole.Methods in com.yahoo.search.grouping.request that return GroupingOperation Modifier and Type Method Description GroupingOperation
GroupingOperation. addChild(GroupingOperation op)
Adds a child grouping node to this.GroupingOperation
GroupingOperation. addChildren(java.util.List<GroupingOperation> lst)
Convenience method to calladdChild(GroupingOperation)
for each element in the given list.GroupingOperation
GroupingOperation. addHint(java.lang.String hint)
Adds a hint to this.GroupingOperation
GroupingOperation. addOrderBy(GroupingExpression exp)
Adds an expression to the order-by clause of this operation.GroupingOperation
GroupingOperation. addOrderBy(java.util.List<GroupingExpression> list)
Convenience method to calladdOrderBy(GroupingExpression)
for each element in the given list.GroupingOperation
GroupingOperation. addOutput(GroupingExpression exp)
Adds an expression to the output clause of this operation.GroupingOperation
GroupingOperation. addOutputs(java.util.List<GroupingExpression> lst)
Convenience method to calladdOutput(GroupingExpression)
for each element in the given list.abstract GroupingOperation
GroupingOperation. copy(GroupingOperation parentOfCopy)
Returns a deep copy of thisstatic GroupingOperation
GroupingOperation. fromString(java.lang.String str)
Convenience method to callfromStringAsList(String)
and assert that the list contains exactly one grouping operation.GroupingOperation
GroupingOperation. getChild(int i)
Returns the child operation at the given index.protected GroupingOperation
GroupingOperation. getParent()
Returns the parent of this, or null if noneGroupingOperation
GroupingOperation. putAlias(java.lang.String id, GroupingExpression exp)
Registers an alias with this operation.GroupingOperation
GroupingOperation. setAccuracy(double accuracy)
Assigns an accuracy value for this.GroupingOperation
GroupingOperation. setForceSinglePass(boolean forceSinglePass)
GroupingOperation
GroupingOperation. setGroupBy(GroupingExpression exp)
Assigns an expressions as the group-by clause of this operation.GroupingOperation
GroupingOperation. setLabel(java.lang.String label)
GroupingOperation
GroupingOperation. setMax(int max)
Assigns the max clause of this.GroupingOperation
GroupingOperation. setPrecision(int precision)
Assigns the precision clause of this.GroupingOperation
GroupingOperation. setWhere(java.lang.String string)
Assigns a string as the where clause of this operation.Methods in com.yahoo.search.grouping.request that return types with arguments of type GroupingOperation Modifier and Type Method Description static java.util.List<GroupingOperation>
GroupingOperation. fromStringAsList(java.lang.String string)
Parses the given string as a list of grouping operations.java.util.List<GroupingOperation>
GroupingOperation. getChildren()
Returns an immutable view to the child list of this node.Methods in com.yahoo.search.grouping.request with parameters of type GroupingOperation Modifier and Type Method Description GroupingOperation
GroupingOperation. addChild(GroupingOperation op)
Adds a child grouping node to this.AllOperation
AllOperation. copy(GroupingOperation parentOfCopy)
EachOperation
EachOperation. copy(GroupingOperation parentOfCopy)
abstract GroupingOperation
GroupingOperation. copy(GroupingOperation parentOfCopy)
Returns a deep copy of thisMethod parameters in com.yahoo.search.grouping.request with type arguments of type GroupingOperation Modifier and Type Method Description GroupingOperation
GroupingOperation. addChildren(java.util.List<GroupingOperation> lst)
Convenience method to calladdChild(GroupingOperation)
for each element in the given list.Constructors in com.yahoo.search.grouping.request with parameters of type GroupingOperation Constructor Description GroupingOperation(GroupingOperation parentOfCopy, java.lang.String image, java.lang.String label, java.util.List<GroupingExpression> orderBy, java.util.List<GroupingExpression> outputs, java.util.List<GroupingOperation> children, java.util.Map<java.lang.String,GroupingExpression> aliases, java.util.Set<java.lang.String> hints, GroupingExpression groupBy, java.lang.String where, boolean forceSinglePass, double accuracy, int precision, int level, int max)
-