Modifier and Type | Method and Description |
---|---|
static QueryPrepareHandle |
QueryPrepareHandle.fromString(String handle)
From string.
|
QueryPrepareHandle |
QueryPlan.getPrepareHandle()
The prepare handle.
|
QueryPrepareHandle |
LensPreparedQuery.getPrepareHandle()
The prepare handle.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryPlan.setPrepareHandle(QueryPrepareHandle prepareHandle)
The prepare handle.
|
Constructor and Description |
---|
LensPreparedQuery(QueryPrepareHandle prepareHandle,
String userQuery,
Date preparedTime,
String preparedUser,
String selectedDriverName,
String driverQuery,
LensConf conf) |
QueryPlan(List<String> tablesQueried,
boolean hasSubQuery,
String execMode,
String scanMode,
QueryPrepareHandle prepareHandle,
String planString,
QueryCostTO queryCost) |
Modifier and Type | Method and Description |
---|---|
List<QueryPrepareHandle> |
LensStatement.getAllPreparedQueries(String userName,
String queryName,
String fromDate,
String toDate)
Gets the all prepared queries.
|
List<QueryPrepareHandle> |
LensClient.getPreparedQueries(String userName,
String queryName,
String fromDate,
String toDate) |
LensAPIResult<QueryPrepareHandle> |
LensClient.prepare(String sql,
String queryName)
Deprecated.
|
LensAPIResult<QueryPrepareHandle> |
LensClient.prepare(String sql,
String queryName,
LensConf conf) |
LensAPIResult<QueryPrepareHandle> |
LensStatement.prepareQuery(String sql,
String queryName)
Deprecated.
|
LensAPIResult<QueryPrepareHandle> |
LensStatement.prepareQuery(String sql,
String queryName,
LensConf conf)
Prepare query.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LensStatement.destroyPrepared(QueryPrepareHandle phandle)
Destroy prepared.
|
boolean |
LensClient.destroyPrepared(QueryPrepareHandle queryPrepareHandle) |
QueryHandle |
LensClient.executePrepared(QueryPrepareHandle phandle,
String queryName)
Deprecated.
|
QueryHandle |
LensClient.executePrepared(QueryPrepareHandle phandle,
String queryName,
LensConf conf) |
QueryHandle |
LensStatement.executeQuery(QueryPrepareHandle phandle,
boolean waitForQueryToComplete,
String queryName)
Deprecated.
|
QueryHandle |
LensStatement.executeQuery(QueryPrepareHandle phandle,
boolean waitForQueryToComplete,
String queryName,
LensConf conf)
This method can be used for executing a prepared query.
|
LensPreparedQuery |
LensStatement.getPreparedQuery(QueryPrepareHandle handle)
Gets the prepared query.
|
LensPreparedQuery |
LensClient.getPreparedQuery(QueryPrepareHandle phandle) |
LensClient.LensClientResultSetWithStats |
LensClient.getResultsFromPrepared(QueryPrepareHandle phandle,
String queryName) |
Modifier and Type | Method and Description |
---|---|
void |
ESDriver.closePreparedQuery(QueryPrepareHandle handle) |
Modifier and Type | Method and Description |
---|---|
void |
HiveDriver.closePreparedQuery(QueryPrepareHandle handle) |
Constructor and Description |
---|
HiveQueryPlan(List<String> explainOutput,
QueryPrepareHandle prepared,
org.apache.hadoop.hive.conf.HiveConf metastoreConf,
QueryCost cost)
Instantiates a new hive query plan.
|
Modifier and Type | Method and Description |
---|---|
void |
JDBCDriver.closePreparedQuery(QueryPrepareHandle handle)
Close the prepare query specified by the prepared handle, releases all the resources held by the prepared query.
|
Modifier and Type | Method and Description |
---|---|
QueryPrepareHandle |
QueryHelper.submitPreparedQuery(String queryString) |
QueryPrepareHandle |
QueryHelper.submitPreparedQuery(String queryString,
String queryName) |
QueryPrepareHandle |
QueryHelper.submitPreparedQuery(String queryString,
String queryName,
String sessionHandleString) |
QueryPrepareHandle |
QueryHelper.submitPreparedQuery(String queryString,
String queryName,
String sessionHandleString,
String conf)
Submit prepared Query
|
Modifier and Type | Method and Description |
---|---|
List<QueryPrepareHandle> |
QueryHelper.getPreparedQueryHandleList() |
List<QueryPrepareHandle> |
QueryHelper.getPreparedQueryHandleList(String queryName) |
List<QueryPrepareHandle> |
QueryHelper.getPreparedQueryHandleList(String queryName,
String user) |
List<QueryPrepareHandle> |
QueryHelper.getPreparedQueryHandleList(String queryName,
String user,
String sessionHandleString) |
List<QueryPrepareHandle> |
QueryHelper.getPreparedQueryHandleList(String queryName,
String user,
String sessionHandleString,
String fromDate,
String toDate)
Get Prepared QueryHandle List
|
Modifier and Type | Method and Description |
---|---|
void |
QueryHelper.destoryPreparedQueryByHandle(QueryPrepareHandle queryPreparedHandle) |
void |
QueryHelper.destoryPreparedQueryByHandle(QueryPrepareHandle queryPreparedHandle,
String sessionHandleString)
Destroy prepared Query
|
QueryHandle |
QueryHelper.executePreparedQuery(QueryPrepareHandle queryHandle) |
QueryHandle |
QueryHelper.executePreparedQuery(QueryPrepareHandle queryHandle,
String sessionHandleString) |
QueryHandle |
QueryHelper.executePreparedQuery(QueryPrepareHandle queryHandle,
String sessionHandleString,
String conf)
Execute prepared Query
|
QueryHandleWithResultSet |
QueryHelper.executePreparedQueryTimeout(QueryPrepareHandle queryHandle) |
QueryHandleWithResultSet |
QueryHelper.executePreparedQueryTimeout(QueryPrepareHandle queryHandle,
String timeout) |
QueryHandleWithResultSet |
QueryHelper.executePreparedQueryTimeout(QueryPrepareHandle queryHandle,
String timeout,
String sessionHandleString) |
QueryHandleWithResultSet |
QueryHelper.executePreparedQueryTimeout(QueryPrepareHandle queryHandle,
String timeout,
String sessionHandleString,
String conf)
Execute prepared Query with timeout
|
javax.ws.rs.core.Response |
QueryHelper.getPreparedQuery(QueryPrepareHandle queryPrepareHandle) |
javax.ws.rs.core.Response |
QueryHelper.getPreparedQuery(QueryPrepareHandle queryPrepareHandle,
String sessionHandleString)
Get prepared Query
|
Modifier and Type | Method and Description |
---|---|
List<QueryPrepareHandle> |
PrepareQueryHandles.getQueryHandles() |
Modifier and Type | Method and Description |
---|---|
void |
PrepareQueryHandles.setPreparedQueryHandles(List<QueryPrepareHandle> queryPrepareHandles) |
Modifier and Type | Method and Description |
---|---|
QueryPrepareHandle |
DriverQueryPlan.getPrepareHandle() |
Modifier and Type | Method and Description |
---|---|
void |
LensDriver.closePreparedQuery(QueryPrepareHandle handle)
Close the prepare query specified by the prepared handle, releases all the resources held by the prepared query.
|
void |
DriverQueryPlan.setPrepareHandle(QueryPrepareHandle handle) |
Modifier and Type | Method and Description |
---|---|
QueryPrepareHandle |
PreparedQueryContext.getPrepareHandle()
The prepare handle.
|
QueryPrepareHandle |
QueryExecutionService.prepare(LensSessionHandle sessionHandle,
String query,
LensConf conf,
String queryName)
Prepare the query.
|
Modifier and Type | Method and Description |
---|---|
List<QueryPrepareHandle> |
QueryExecutionService.getAllPreparedQueries(LensSessionHandle sessionHandle,
String user,
String queryName,
String fromDate,
String toDate)
Returns all the prepared queries for the specified user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
QueryExecutionService.destroyPrepared(LensSessionHandle sessionHandle,
QueryPrepareHandle prepared)
Destroy a prepared query.
|
QueryHandleWithResultSet |
QueryExecutionService.executePrepare(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle,
long timeoutmillis,
LensConf conf,
String queryName)
Execute already prepared query with timeout.
|
QueryHandle |
QueryExecutionService.executePrepareAsync(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle,
LensConf conf,
String queryName)
Execute already prepared query asynchronously.
|
LensPreparedQuery |
QueryExecutionService.getPreparedQuery(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle)
Get prepared query.
|
boolean |
QueryExecutionService.updateQueryConf(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle,
LensConf newconf)
Update configuration for prepared query.
|
Modifier and Type | Method and Description |
---|---|
QueryPrepareHandle |
QueryExecutionServiceImpl.prepare(LensSessionHandle sessionHandle,
String query,
LensConf lensConf,
String queryName) |
Modifier and Type | Method and Description |
---|---|
List<QueryPrepareHandle> |
QueryServiceResource.getAllPreparedQueries(LensSessionHandle sessionid,
String user,
String queryName,
String fromDate,
String toDate)
Get all prepared queries in the query server; can be filtered with user.
|
List<QueryPrepareHandle> |
QueryExecutionServiceImpl.getAllPreparedQueries(LensSessionHandle sessionHandle,
String user,
String queryName,
String fromDate,
String toDate) |
Modifier and Type | Method and Description |
---|---|
boolean |
QueryExecutionServiceImpl.destroyPrepared(LensSessionHandle sessionHandle,
QueryPrepareHandle prepared) |
QueryHandleWithResultSet |
QueryExecutionServiceImpl.executePrepare(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle,
long timeoutMillis,
LensConf conf,
String queryName) |
QueryHandle |
QueryExecutionServiceImpl.executePrepareAsync(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle,
LensConf conf,
String queryName) |
LensPreparedQuery |
QueryExecutionServiceImpl.getPreparedQuery(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle) |
boolean |
QueryExecutionServiceImpl.updateQueryConf(LensSessionHandle sessionHandle,
QueryPrepareHandle prepareHandle,
LensConf newconf) |
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.