This project has retired. For details please refer to its Attic page.
QueryRunner (Lens 2.1.0-beta-incubating API)

org.apache.lens.ml.impl
Class QueryRunner

java.lang.Object
  extended by org.apache.lens.ml.impl.QueryRunner

public abstract class QueryRunner
extends Object

Run a query against a Lens server.


Constructor Summary
QueryRunner(LensSessionHandle sessionHandle)
          Instantiates a new query runner.
 
Method Summary
abstract  QueryHandle runQuery(String query)
          Run query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryRunner

public QueryRunner(LensSessionHandle sessionHandle)
Instantiates a new query runner.

Parameters:
sessionHandle - the session handle
Method Detail

runQuery

public abstract QueryHandle runQuery(String query)
                              throws LensException
Run query.

Parameters:
query - the query
Returns:
the query handle
Throws:
LensException - the lens exception


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