Modifier and Type | Method and Description |
---|---|
static <DATA> LensAPIResult<DATA> |
LensAPIResult.composedOf(String apiVersion,
String id,
DATA data) |
static <DATA> LensAPIResult<DATA> |
LensAPIResult.composedOf(String apiVersion,
String id,
DATA data,
javax.ws.rs.core.Response.Status httpStatusCode) |
static LensAPIResult<NoResultData> |
LensAPIResult.composedOf(String apiVersion,
String id,
LensErrorTO lensErrorTO,
javax.ws.rs.core.Response.Status httpStatusCode) |
Modifier and Type | Method and Description |
---|---|
LensAPIResult<QueryHandle> |
LensStatement.execute(String sql,
boolean waitForQueryToComplete,
String queryName)
Execute.
|
LensAPIResult<QueryHandle> |
LensStatement.executeQuery(String sql,
boolean waitForQueryToComplete,
String queryName)
Execute query.
|
LensAPIResult<QueryHandle> |
LensClient.executeQueryAsynch(String sql,
String queryName) |
LensAPIResult<QueryPlan> |
LensStatement.explainAndPrepare(String sql,
String queryName)
Explain and prepare.
|
LensAPIResult<QueryPlan> |
LensClient.explainAndPrepare(String sql,
String queryName) |
LensAPIResult<QueryPlan> |
LensStatement.explainQuery(String sql)
Explain query.
|
LensAPIResult<QueryPlan> |
LensClient.getQueryPlan(String q) |
LensAPIResult<QueryPrepareHandle> |
LensClient.prepare(String sql,
String queryName) |
LensAPIResult<QueryPrepareHandle> |
LensStatement.prepareQuery(String sql,
String queryName)
Prepare query.
|
Constructor and Description |
---|
LensAPIException(LensAPIResult lensAPIErrorResult) |
Modifier and Type | Method and Description |
---|---|
LensAPIResult |
QueryHelper.estimateQuery(String queryString) |
LensAPIResult |
QueryHelper.estimateQuery(String queryString,
String sessionHandleString) |
LensAPIResult |
QueryHelper.estimateQuery(String queryString,
String sessionHandleString,
String conf)
Estimate the query
|
LensAPIResult |
QueryHelper.executeQuery(String queryString) |
LensAPIResult |
QueryHelper.executeQuery(String queryString,
String queryName) |
LensAPIResult |
QueryHelper.executeQuery(String queryString,
String queryName,
String sessionHandleString) |
LensAPIResult |
QueryHelper.executeQuery(String queryString,
String queryName,
String sessionHandleString,
String conf)
Execute with conf
|
LensAPIResult |
QueryHelper.executeQuery(String queryString,
String queryName,
String user,
String sessionHandleString,
LensConf conf)
Execute the query
|
LensAPIResult |
QueryHelper.executeQueryTimeout(String queryString) |
LensAPIResult |
QueryHelper.executeQueryTimeout(String queryString,
String timeout) |
LensAPIResult |
QueryHelper.executeQueryTimeout(String queryString,
String timeout,
String queryName) |
LensAPIResult |
QueryHelper.executeQueryTimeout(String queryString,
String timeout,
String queryName,
String sessionHandleString) |
LensAPIResult |
QueryHelper.executeQueryTimeout(String queryString,
String timeout,
String queryName,
String sessionHandleString,
String conf)
Execute with timeout
|
LensAPIResult |
QueryHelper.explainQuery(String queryString) |
LensAPIResult |
QueryHelper.explainQuery(String queryString,
String sessionHandleString) |
LensAPIResult |
QueryHelper.explainQuery(String queryString,
String sessionHandleString,
String conf)
Explain the query
|
Modifier and Type | Method and Description |
---|---|
LensAPIResult |
LensException.getLensAPIResult()
The lensResponse prepared by
LensException.buildLensErrorResponse(ErrorCollection, String, String) |
Modifier and Type | Method and Description |
---|---|
LensAPIResult<? extends QuerySubmitResult> |
QueryServiceResource.prepareQuery(LensSessionHandle sessionid,
String query,
String operation,
LensConf conf,
String queryName)
Prepare a query or 'explain and prepare' the query.
|
LensAPIResult<? extends QuerySubmitResult> |
QueryServiceResource.query(LensSessionHandle sessionid,
String query,
String operation,
LensConf conf,
Long timeoutmillis,
String queryName)
Submit the query for explain or execute or execute with a timeout.
|
Modifier and Type | Method and Description |
---|---|
LensAPIResult<? extends QuerySubmitResult> |
SavedQueryResource.run(long id,
javax.ws.rs.core.UriInfo info,
LensSessionHandle sessionid,
LensConf conf)
Runs the saved query with the given id and returns a query handle.
|
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.