Modifier and Type | Field and Description |
---|---|
static String |
GROUPING |
static String |
SELECT |
static String |
WHERE |
Constructor and Description |
---|
Select(Query query)
Creates an empty select statement
|
Select(String where,
String grouping,
Query query) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Select |
cloneFor(Query parent) |
static QueryProfileType |
getArgumentType() |
List<GroupingRequest> |
getGrouping()
Returns the query's
GroupingRequest as a mutable list. |
String |
getGroupingString()
Returns the grouping in the query
|
String |
getWhereString()
Returns the where clause string previously assigned, or an empty string if none
|
void |
setGroupingString(String grouping)
Sets the grouping operation of the query.
|
void |
setWhereString(String where)
Sets the document selection criterion of the query.
|
String |
toString() |
public static final String SELECT
public static final String WHERE
public static final String GROUPING
public Select(Query query)
public static QueryProfileType getArgumentType()
public void setWhereString(String where)
where
- the documents to select as a JSON string on the format specified in
the select reference docpublic String getWhereString()
public void setGroupingString(String grouping)
grouping
- the grouping to perform as a JSON string on the format specified in
the select reference docpublic String getGroupingString()
public List<GroupingRequest> getGrouping()
GroupingRequest
as a mutable list. Changing this directly changes the grouping
operations which will be performed by this query.Copyright © 2018. All rights reserved.