QueryConfig |
Query.getConfig() |
Returns a QueryConfig object that contains fully parsed pieces like table, predicate, groupByExprs, etc.
|
QueryConfig |
QueryListenerWrapper.getConfig() |
|
QueryConfig |
QueryConfig.setApproximateSnapshotOrder(OrderDefinition order) |
Return the snapshot part of the query in this approximate order,
subject to parallel scan interleaving.
|
QueryConfig |
QueryConfig.setDescription(String description) |
Configure the description for this query
|
QueryConfig |
QueryConfig.setGroupByExprs(String... exprs) |
Configure group-by
|
QueryConfig |
QueryConfig.setGroupByExprs(List<String> groupByExprs) |
Configure group-by
|
QueryConfig |
QueryConfig.setHaving(String having) |
Set the having filter, 'HAVING' clause
|
QueryConfig |
QueryConfig.setIncludeInternal(boolean includeInternal) |
set to make this query include internal fields, regardless of the state of includeInternal property
if false, use the property (which is set by the URI when connecting)
|
QueryConfig |
QueryConfig.setLimit(int limit) |
Deprecated.
|
QueryConfig |
QueryConfig.setMaxResultSetSize(int limit) |
Configure the row limit.
|
QueryConfig |
QueryConfig.setName(String name) |
|
QueryConfig |
QueryConfig.setOwner(String owner) |
|
QueryConfig |
QueryConfig.setPivotAggExpr(String pivotAggExpr) |
Set the pivot aggregate expressions, 'PIVOT' clause
|
QueryConfig |
QueryConfig.setPivotField(String pivotField) |
Set the pivot 'FOR' clause
|
QueryConfig |
QueryConfig.setPivotQuery(String tableName,
String pivotAggExprs,
String pivotField,
String pivotValues,
String... groupByExprs) |
Configure the pivot query.
|
QueryConfig |
QueryConfig.setPivotValues(String pivotValues) |
Set the pivot 'VALUES' clause
|
QueryConfig |
QueryConfig.setPredicate(String predicate) |
Configure the predicate
|
QueryConfig |
QueryConfig.setPredicate(String predicate,
int timePredicateInMillis) |
Configure the predicate
|
QueryConfig |
QueryConfig.setQuery(String table,
String predicate) |
Configure the table to query and predicate
|
QueryConfig |
QueryConfig.setQuery(List<Schema.Field> fields,
String table,
String predicate) |
Configure the table to query, the predicate and the result fields
|
QueryConfig |
QueryConfig.setQuery(List<Schema.Field> fields,
String table,
String predicate,
int limit) |
Configure the table to query, the predicate and the result fields using a specified row limit
|
QueryConfig |
QueryConfig.setQuery(List<Schema.Field> fields,
String table,
String predicate,
int limit,
long timePredicateInMillis) |
Configure the table to query, the predicate and the result fields using a specified row limit and row delay
|
QueryConfig |
QueryConfig.setQueryString(String query) |
Configure the query using a single string, SQL-like syntax.
|
QueryConfig |
QueryConfig.setQueryType(LiveViewQueryType queryType) |
Configure the query type.
|
QueryConfig |
QueryConfig.setSelectExprs(String... exprs) |
Configure the result fields
|
QueryConfig |
QueryConfig.setSelectExprs(List<String> exprs) |
Configure the result fields
|
QueryConfig |
QueryConfig.setSelectFields(Schema.Field... fields) |
Configure the result fields
|
QueryConfig |
QueryConfig.setSelectFields(List<Schema.Field> fields) |
Configure the result fields
|
QueryConfig |
QueryConfig.setTable(String table) |
Configure the table to query
|
QueryConfig |
QueryConfig.setTimePredicateInMillis(long ms) |
Set the time predicate.
|
QueryConfig |
QueryConfig.setTimeWindow(String startTimeExpr,
String endTimeExpr,
String timestampField) |
Configures this query as a time-windowed query, using the given start and end time
expressions, against the given timestamp field from the target table.
|
QueryConfig |
QueryConfig.setTopN(OrderDefinition order,
int size) |
Return only the top N results according to the order definition.
|