org.apache.lens.ml
Class TestQueryRunner

java.lang.Object
  extended by org.apache.lens.ml.TestQueryRunner

public abstract class TestQueryRunner
extends Object

Run the model testing query against a Lens server.


Constructor Summary
TestQueryRunner(LensSessionHandle sessionHandle)
          Instantiates a new test 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

TestQueryRunner

public TestQueryRunner(LensSessionHandle sessionHandle)
Instantiates a new test 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.