| Modifier and Type | Field and Description |
|---|---|
(package private) QueryType |
DruidQuery.QuerySpec.queryType |
| Modifier and Type | Method and Description |
|---|---|
QueryType |
DruidQuery.getQueryType() |
static QueryType |
QueryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryType[] |
QueryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Enumerable<Row> |
DruidConnectionImpl.enumerable(QueryType queryType,
String request,
List<String> fieldNames,
ExecutorService service)
Executes a request and returns the resulting rows as an
Enumerable, running the parser in a thread provided by
service. |
private void |
DruidConnectionImpl.parse(QueryType queryType,
InputStream in,
Sink sink,
List<String> fieldNames,
List<org.apache.calcite.avatica.ColumnMetaData.Rep> fieldTypes,
DruidConnectionImpl.Page page)
Parses the output of a query, sending the results to a
Sink. |
void |
DruidConnectionImpl.request(QueryType queryType,
String data,
Sink sink,
List<String> fieldNames,
List<org.apache.calcite.avatica.ColumnMetaData.Rep> fieldTypes,
DruidConnectionImpl.Page page)
Executes a query request.
|
| Constructor and Description |
|---|
QuerySpec(QueryType queryType,
String queryString,
List<String> fieldNames) |
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.