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.StatusType httpStatusCode) |
static LensAPIResult<NoResultData> |
LensAPIResult.composedOf(String apiVersion,
String id,
LensErrorTO lensErrorTO,
javax.ws.rs.core.Response.StatusType httpStatusCode) |
Modifier and Type | Method and Description |
---|---|
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<QueryCostTO> |
QueryHelper.estimateQuery(String queryString) |
LensAPIResult<QueryCostTO> |
QueryHelper.estimateQuery(String queryString,
String sessionHandleString) |
LensAPIResult<QueryCostTO> |
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) |
LensAPIResult |
QueryHelper.executeQuery(String queryString,
String queryName,
String user,
String sessionHandleString,
LensConf conf)
Execute the query
|
LensAPIResult |
QueryHelper.executeQuery(String queryString,
String queryName,
String sessionHandleString,
String conf,
String outputMediaType)
Execute with conf
|
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,
LensConf conf) |
LensAPIResult |
QueryHelper.executeQueryTimeout(String queryString,
String timeout,
String queryName,
String sessionHandleString,
String conf)
Execute with timeout
|
LensAPIResult<QueryPlan> |
QueryHelper.explainQuery(String queryString) |
LensAPIResult<QueryPlan> |
QueryHelper.explainQuery(String queryString,
String sessionHandleString) |
LensAPIResult<QueryPlan> |
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<QuerySubmitResult> |
QueryServiceResource.prepareQuery(LensSessionHandle sessionid,
String query,
String operation,
LensConf conf,
String queryName)
Prepare a query or 'explain and prepare' the query.
|
LensAPIResult<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<QueryHandle> |
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–2016 Apache Software Foundation. All rights reserved.