Uses of Class
org.apache.lens.server.api.query.QueryContext

Packages that use QueryContext
org.apache.lens.driver.hive   
org.apache.lens.driver.jdbc   
org.apache.lens.lib.query   
org.apache.lens.server.api.driver   
org.apache.lens.server.api.query   
 

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

Methods in org.apache.lens.driver.hive with parameters of type QueryContext
 LensResultSet HiveDriver.execute(QueryContext ctx)
           
 void HiveDriver.executeAsync(QueryContext ctx)
           
 LensResultSet HiveDriver.fetchResultSet(QueryContext ctx)
           
 void HiveDriver.updateStatus(QueryContext context)
           
 

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

Methods in org.apache.lens.driver.jdbc with parameters of type QueryContext
 LensResultSet JDBCDriver.execute(QueryContext context)
          Blocking execute of the query.
 void JDBCDriver.executeAsync(QueryContext context)
          Asynchronously execute the query.
 LensResultSet JDBCDriver.fetchResultSet(QueryContext context)
          Fetch the results of the query, specified by the handle.
 void JDBCDriver.updateStatus(QueryContext context)
          Get status of the query, specified by the handle.
 

Uses of QueryContext in org.apache.lens.lib.query
 

Methods in org.apache.lens.lib.query with parameters of type QueryContext
 void WrappedFileFormatter.init(QueryContext ctx, LensResultSetMetadata metadata)
           
 void FileSerdeFormatter.init(QueryContext ctx, LensResultSetMetadata metadata)
           
 void FilePersistentFormatter.init(QueryContext ctx, LensResultSetMetadata metadata)
           
 void AbstractOutputFormatter.init(QueryContext ctx, LensResultSetMetadata metadata)
           
 void AbstractFileFormatter.init(QueryContext ctx, LensResultSetMetadata metadata)
           
 

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

Methods in org.apache.lens.server.api.driver with parameters of type QueryContext
 LensResultSet LensDriver.execute(QueryContext context)
          Blocking execute of the query

The driver would be closing the driver handle, once the results are fetched.

 void LensDriver.executeAsync(QueryContext context)
          Asynchronously execute the query.
 LensResultSet LensDriver.fetchResultSet(QueryContext context)
          Fetch the results of the query, specified by the handle.
 void LensDriver.updateStatus(QueryContext context)
          Update driver query status in the context object.
 

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

Methods in org.apache.lens.server.api.query that return QueryContext
static QueryContext QueryContext.createContextWithSingleDriver(String query, String user, LensConf qconf, org.apache.hadoop.conf.Configuration conf, LensDriver driver, String lensSessionPublicId)
          Utility create method to create context with single driver.
 QueryContext FinishedLensQuery.toQueryContext(org.apache.hadoop.conf.Configuration conf, Collection<LensDriver> drivers)
           
 

Methods in org.apache.lens.server.api.query with parameters of type QueryContext
 int QueryContext.compareTo(QueryContext other)
           
 void QueryOutputFormatter.init(QueryContext ctx, LensResultSetMetadata metadata)
          Initialize the formatter.
 

Constructors in org.apache.lens.server.api.query with parameters of type QueryContext
FinishedLensQuery(QueryContext ctx)
          Instantiates a new finished lens query.
 



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