Package | Description |
---|---|
org.apache.lens.cli.commands | |
org.apache.lens.client | |
org.apache.lens.examples | |
org.apache.lens.rdd |
Modifier and Type | Method and Description |
---|---|
String |
LensQueryCommands.explainAndPrepare(String sql,
String queryName)
Explain and prepare.
|
String |
LensQueryCommands.explainQuery(String sql,
File path)
Explain query.
|
String |
LensQueryCommands.prepare(String sql,
String queryName)
Prepare.
|
Modifier and Type | Method and Description |
---|---|
QueryHandle |
LensStatement.executeQuery(String sql,
boolean waitForQueryToComplete,
String queryName)
This method can be used for executing a query.
|
QueryHandleWithResultSet |
LensStatement.executeQuery(String sql,
String queryName,
long timeOutMillis)
This method can be used for executing query.
|
QueryHandle |
LensClient.executeQueryAsynch(String sql,
String queryName) |
QueryHandleWithResultSet |
LensClient.executeQueryWithTimeout(String sql,
String queryName,
long timeOutMillis)
Execute query with timeout option.
|
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) |
LensClient.LensClientResultSetWithStats |
LensClient.getResults(String sql,
String queryName) |
LensAPIResult<QueryPrepareHandle> |
LensClient.prepare(String sql,
String queryName) |
LensAPIResult<QueryPrepareHandle> |
LensStatement.prepareQuery(String sql,
String queryName)
Prepare query.
|
Modifier and Type | Method and Description |
---|---|
void |
SampleQueries.queryAll()
Query all.
|
void |
SampleQueries.runQueries(String fileName)
Run queries.
|
Modifier and Type | Method and Description |
---|---|
LensRDDClient.LensRDDResult |
LensRDDClient.createLensRDD(String query)
Blocking call to create an RDD from a Lens query.
|
QueryHandle |
LensRDDClient.createLensRDDAsync(String query)
API for non blocking use.
|
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.