This project has retired. For details please refer to its Attic page.
Uses of Class org.apache.lens.api.query.QueryHandle (Lens 2.0.1-beta-incubating API)

Uses of Class
org.apache.lens.api.query.QueryHandle

Packages that use QueryHandle
org.apache.lens.api.query   
org.apache.lens.client   
org.apache.lens.driver.hive   
org.apache.lens.driver.jdbc   
org.apache.lens.ml   
org.apache.lens.rdd   
org.apache.lens.server.api.driver   
org.apache.lens.server.api.query   
org.apache.lens.server.query   
org.apache.lens.server.ui   
 

Uses of QueryHandle in org.apache.lens.api.query
 

Methods in org.apache.lens.api.query that return QueryHandle
static QueryHandle QueryHandle.fromString(String handle)
          From string.
 

Constructors in org.apache.lens.api.query with parameters of type QueryHandle
QueryHandleWithResultSet(QueryHandle handle)
          Instantiates a new query handle with result set.
 

Uses of QueryHandle in org.apache.lens.client
 

Methods in org.apache.lens.client that return QueryHandle
 QueryHandle LensClient.executePrepared(QueryPrepareHandle phandle, String queryName)
           
 QueryHandle LensStatement.executeQuery(QueryPrepareHandle phandle, boolean waitForQueryToComplete, String queryName)
          Execute query.
 QueryHandle LensStatement.executeQuery(QueryPrepareHandle phandle, String queryName)
          Execute query.
 QueryHandle LensStatement.executeQuery(String sql, boolean waitForQueryToComplete, String queryName)
          Execute query.
 QueryHandle LensClient.executeQueryAsynch(String sql, String queryName)
           
 

Methods in org.apache.lens.client that return types with arguments of type QueryHandle
 List<QueryHandle> LensStatement.getAllQueries(String state, String queryName, String user, long fromDate, long toDate)
          Gets the all queries.
 List<QueryHandle> LensClient.getQueries(String state, String queryName, String user, long fromDate, long toDate)
           
 

Methods in org.apache.lens.client with parameters of type QueryHandle
 LensClient.LensClientResultSetWithStats LensClient.getAsyncResults(QueryHandle q)
           
 LensStatement LensClient.getLensStatement(QueryHandle query)
           
 LensQuery LensStatement.getQuery(QueryHandle handle)
          Gets the query.
 QueryStatus LensClient.getQueryStatus(QueryHandle query)
           
 QueryResult LensClient.getResults(QueryHandle query)
           
 boolean LensClient.killQuery(QueryHandle q)
           
 

Uses of QueryHandle in org.apache.lens.driver.hive
 

Methods in org.apache.lens.driver.hive with parameters of type QueryHandle
 boolean HiveDriver.cancelQuery(QueryHandle handle)
           
 void HiveDriver.closeQuery(QueryHandle handle)
           
 void HiveDriver.closeResultSet(QueryHandle handle)
           
 void HiveDriver.registerForCompletionNotification(QueryHandle handle, long timeoutMillis, QueryCompletionListener listener)
           
 

Uses of QueryHandle in org.apache.lens.driver.jdbc
 

Methods in org.apache.lens.driver.jdbc with parameters of type QueryHandle
 boolean JDBCDriver.cancelQuery(QueryHandle handle)
          Cancel the execution of the query, specified by the handle.
 void JDBCDriver.closeQuery(QueryHandle handle)
          Close the query specified by the handle, releases all the resources held by the query.
 void JDBCDriver.closeResultSet(QueryHandle handle)
          Close the resultset for the query.
 void JDBCDriver.registerForCompletionNotification(QueryHandle handle, long timeoutMillis, QueryCompletionListener listener)
          Register for query completion notification.
 

Uses of QueryHandle in org.apache.lens.ml
 

Methods in org.apache.lens.ml that return QueryHandle
abstract  QueryHandle TestQueryRunner.runQuery(String query)
          Run query.
 

Uses of QueryHandle in org.apache.lens.rdd
 

Methods in org.apache.lens.rdd that return QueryHandle
 QueryHandle LensRDDClient.createLensRDDAsync(String query)
          API for non blocking use.
 QueryHandle LensRDDClient.LensRDDResult.getLensQuery()
           
 

Methods in org.apache.lens.rdd with parameters of type QueryHandle
 void LensRDDClient.cancelRDD(QueryHandle queryHandle)
          Allow cancelling underlying query in case of non blocking RDD creation.
 LensRDDClient.LensRDDResult LensRDDClient.getRDD(QueryHandle queryHandle)
          Get the RDD created for the query.
 boolean LensRDDClient.isReadyForRDD(QueryHandle queryHandle)
          Check if the RDD is created.
 

Constructors in org.apache.lens.rdd with parameters of type QueryHandle
LensRDDClient.LensRDDResult(org.apache.spark.rdd.RDD<List<Object>> rdd, QueryHandle lensQuery, String tempTableName)
          Instantiates a new lens rdd result.
 

Uses of QueryHandle in org.apache.lens.server.api.driver
 

Methods in org.apache.lens.server.api.driver that return QueryHandle
 QueryHandle DriverQueryPlan.getHandle()
          Deprecated.  
 

Methods in org.apache.lens.server.api.driver with parameters of type QueryHandle
 boolean LensDriver.cancelQuery(QueryHandle handle)
          Cancel the execution of the query, specified by the handle.
 void LensDriver.closeQuery(QueryHandle handle)
          Close the query specified by the handle, releases all the resources held by the query.
 void LensDriver.closeResultSet(QueryHandle handle)
          Close the resultset for the query.
 void QueryCompletionListener.onCompletion(QueryHandle handle)
          On completion.
 void QueryCompletionListener.onError(QueryHandle handle, String error)
          On error.
 void LensDriver.registerForCompletionNotification(QueryHandle handle, long timeoutMillis, QueryCompletionListener listener)
          Register for query completion notification.
 

Uses of QueryHandle in org.apache.lens.server.api.query
 

Methods in org.apache.lens.server.api.query that return QueryHandle
 QueryHandle QueryExecutionService.executeAsync(LensSessionHandle sessionHandle, String query, LensConf conf, String queryName)
          Asynchronously execute the query.
 QueryHandle QueryExecutionService.executePrepareAsync(LensSessionHandle sessionHandle, QueryPrepareHandle prepareHandle, LensConf conf, String queryName)
          Execute already prepared query asynchronously.
 

Methods in org.apache.lens.server.api.query that return types with arguments of type QueryHandle
 List<QueryHandle> QueryExecutionService.getAllQueries(LensSessionHandle sessionHandle, String state, String user, String queryName, long fromDate, long toDate)
          Returns all the queries in the specified state, for the given user and matching query name.
 

Methods in org.apache.lens.server.api.query with parameters of type QueryHandle
 boolean QueryExecutionService.cancelQuery(LensSessionHandle sessionHandle, QueryHandle queryHandle)
          Cancel the execution of the query, specified by the handle.
 void QueryExecutionService.closeResultSet(LensSessionHandle sessionHandle, QueryHandle queryHandle)
          Closes result set by releasing any resources used in serving the resultset.
 QueryResult QueryExecutionService.fetchResultSet(LensSessionHandle sessionHandle, QueryHandle queryHandle, long startIndex, int fetchSize)
          Fetch the results of the query, specified by the handle.
 javax.ws.rs.core.Response QueryExecutionService.getHttpResultSet(LensSessionHandle sessionHandle, QueryHandle queryHandle)
          Get the http end point for the result set.
 LensQuery QueryExecutionService.getQuery(LensSessionHandle sessionHandle, QueryHandle queryHandle)
          Get the query, specified by the handle.
 QueryResultSetMetadata QueryExecutionService.getResultSetMetadata(LensSessionHandle sessionHandle, QueryHandle queryHandle)
          Get the result set metadata - list of columns(names and types) and result size.
 boolean QueryExecutionService.updateQueryConf(LensSessionHandle sessionHandle, QueryHandle queryHandle, LensConf newconf)
          Update the query conf.
 

Constructors in org.apache.lens.server.api.query with parameters of type QueryHandle
PriorityChange(long eventTime, Priority prev, Priority current, QueryHandle handle)
          Instantiates a new priority change.
QueryAccepted(long eventTime, String prev, String current, QueryHandle handle)
          Instantiates a new query accepted.
QueryCancelled(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle, String user, String cause)
          Instantiates a new query cancelled.
QueryClosed(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle, String user, String cause)
          Instantiates a new query closed.
QueryEnded(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle, String user, String cause)
          Instantiates a new query ended.
QueryEvent(long eventTime, T prev, T current, QueryHandle handle)
          Instantiates a new query event.
QueryExecuted(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle)
          Instantiates a new query executed.
QueryFailed(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle, String user, String cause)
          Instantiates a new query failed.
QueryLaunched(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle)
          Instantiates a new query launched.
QueryQueued(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle, String user)
          Instantiates a new query queued.
QueryRejected(long eventTime, String prev, String current, QueryHandle handle)
          Instantiates a new query rejected.
QueryRunning(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle)
          Instantiates a new query running.
QuerySuccess(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle)
          Instantiates a new query success.
QueuePositionChange(long eventTime, Integer prev, Integer current, QueryHandle handle)
          Instantiates a new queue position change.
StatusChange(long eventTime, QueryStatus.Status prev, QueryStatus.Status current, QueryHandle handle)
          Instantiates a new status change.
 

Uses of QueryHandle in org.apache.lens.server.query
 

Methods in org.apache.lens.server.query that return QueryHandle
 QueryHandle QueryExecutionServiceImpl.executeAsync(LensSessionHandle sessionHandle, String query, LensConf conf, String queryName)
           
 QueryHandle QueryExecutionServiceImpl.executePrepareAsync(LensSessionHandle sessionHandle, QueryPrepareHandle prepareHandle, LensConf conf, String queryName)
           
 

Methods in org.apache.lens.server.query that return types with arguments of type QueryHandle
 List<QueryHandle> LensServerDAO.findFinishedQueries(String state, String user, String queryName, long fromDate, long toDate)
          Find finished queries.
 List<QueryHandle> QueryServiceResource.getAllQueries(LensSessionHandle sessionid, String state, String queryName, String user, long fromDate, long toDate)
          Get all the queries in the query server; can be filtered with state and queryName.
 List<QueryHandle> QueryExecutionServiceImpl.getAllQueries(LensSessionHandle sessionHandle, String state, String userName, String queryName, long fromDate, long toDate)
           
 

Methods in org.apache.lens.server.query with parameters of type QueryHandle
 boolean QueryExecutionServiceImpl.cancelQuery(LensSessionHandle sessionHandle, QueryHandle queryHandle)
           
 void QueryExecutionServiceImpl.closeResultSet(LensSessionHandle sessionHandle, QueryHandle queryHandle)
           
 QueryResult QueryExecutionServiceImpl.fetchResultSet(LensSessionHandle sessionHandle, QueryHandle queryHandle, long startIndex, int fetchSize)
           
 javax.ws.rs.core.Response QueryExecutionServiceImpl.getHttpResultSet(LensSessionHandle sessionHandle, QueryHandle queryHandle)
           
 LensQuery QueryExecutionServiceImpl.getQuery(LensSessionHandle sessionHandle, QueryHandle queryHandle)
           
 QueryResultSetMetadata QueryExecutionServiceImpl.getResultSetMetadata(LensSessionHandle sessionHandle, QueryHandle queryHandle)
           
 boolean QueryExecutionServiceImpl.updateQueryConf(LensSessionHandle sessionHandle, QueryHandle queryHandle, LensConf newconf)
           
 

Uses of QueryHandle in org.apache.lens.server.ui
 

Methods in org.apache.lens.server.ui that return types with arguments of type QueryHandle
 List<QueryHandle> QueryServiceUIResource.getAllQueries(UUID publicId, String state, String user, String queryName, long fromDate, long toDate)
          Get all the queries in the query server; can be filtered with state and user.
 



Copyright © 2014–2015 Apache Software Foundation. All rights reserved.