public static class JDBCDriver.DummyQueryRewriter extends Object implements QueryRewriter
Constructor and Description |
---|
JDBCDriver.DummyQueryRewriter() |
public String rewrite(String query, org.apache.hadoop.conf.Configuration queryConf, org.apache.hadoop.hive.conf.HiveConf metastoreConf) throws LensException
QueryRewriter
rewrite
in interface QueryRewriter
query
- the queryqueryConf
- the query configurationmetastoreConf
- The metastore configuration. If rewriters requires to access metastore, this configuration
needs to passedLensException
- the lens exceptionpublic void init(org.apache.hadoop.conf.Configuration rewriteConf)
QueryRewriter
init
in interface QueryRewriter
rewriteConf
- Configuration required for rewriter initCopyright © 2014–2015 Apache Software Foundation. All rights reserved.