org.apache.lens.driver.jdbc
Class JDBCDriver.DummyQueryRewriter
java.lang.Object
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.
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. |
JDBCDriver.DummyQueryRewriter
public JDBCDriver.DummyQueryRewriter()
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 queryqueryConf
- 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.