public interface QueryRewriter
String rewrite(String query, org.apache.hadoop.conf.Configuration queryConf, org.apache.hadoop.hive.conf.HiveConf metastoreConf) throws LensException
query
- the queryqueryConf
- the query configurationmetastoreConf
- The metastore configuration. If rewriters requires to access metastore, this configuration
needs to passedLensException
- the lens exceptionvoid init(org.apache.hadoop.conf.Configuration rewriteConf)
rewriteConf
- Configuration required for rewriter initCopyright © 2014–2015 Apache Software Foundation. All rights reserved.