Package com.yahoo.search.query
Class Select
java.lang.Object
com.yahoo.search.query.Select
- All Implemented Interfaces:
Cloneable
The parameters defining the where-clause and grouping of a query
- Author:
- henrhoi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
static QueryProfileType
Returns the query'sGroupingRequest
as a mutable list.Returns the grouping in the queryReturns the where clause string previously assigned, or an empty string if nonevoid
setGroupingExpressionString
(String groupingExpressionString) Sets the grouping expression string directly.void
setGroupingString
(String grouping) Sets the grouping operation of the query.void
setWhereString
(String where) Sets the document selection criterion of the query.toString()
-
Field Details
-
SELECT
- See Also:
-
WHERE
- See Also:
-
GROUPING
- See Also:
-
-
Constructor Details
-
Select
Creates an empty select statement -
Select
-
-
Method Details
-
getArgumentType
-
setWhereString
Sets the document selection criterion of the query.- Parameters:
where
- the documents to select as a JSON string on the format specified in the select reference doc
-
getWhereString
Returns the where clause string previously assigned, or an empty string if none -
setGroupingString
Sets the grouping operation of the query.- Parameters:
grouping
- the grouping to perform as a JSON string on the format specified in the select reference doc
-
setGroupingExpressionString
Sets the grouping expression string directly. This will not be parsed by this but will be accessed later by GroupingQueryParser. -
getGroupingExpressionString
-
getGroupingString
Returns the grouping in the query -
getGrouping
Returns the query'sGroupingRequest
as a mutable list. Changing this directly changes the grouping operations which will be performed by this query. -
toString
-
clone
-
cloneFor
-