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

org.apache.lens.driver.jdbc
Class JDBCDriver.DummyQueryRewriter

java.lang.Object
  extended by org.apache.lens.driver.jdbc.JDBCDriver.DummyQueryRewriter
All Implemented Interfaces:
QueryRewriter
Enclosing class:
JDBCDriver

public static class JDBCDriver.DummyQueryRewriter
extends Object
implements QueryRewriter

The Class DummyQueryRewriter.


Constructor Summary
JDBCDriver.DummyQueryRewriter()
           
 
Method Summary
 void init(org.apache.hadoop.conf.Configuration rewriteConf)
          Set conf for the rewriter
 String rewrite(String query, org.apache.hadoop.conf.Configuration queryConf)
          Rewrite.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCDriver.DummyQueryRewriter

public JDBCDriver.DummyQueryRewriter()
Method Detail

rewrite

public String rewrite(String query,
                      org.apache.hadoop.conf.Configuration queryConf)
               throws LensException
Description copied from interface: QueryRewriter
Rewrite.

Specified by:
rewrite in interface QueryRewriter
Parameters:
query - the query
queryConf - the query configuration
Returns:
the string
Throws:
LensException - the lens exception

init

public void init(org.apache.hadoop.conf.Configuration rewriteConf)
Description copied from interface: QueryRewriter
Set conf for the rewriter

Specified by:
init in interface QueryRewriter
Parameters:
rewriteConf - Configuration required for rewriter init


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