public class CubeKeywordRemover extends Object implements Phase1Rewriter
Constructor and Description |
---|
CubeKeywordRemover() |
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–2016 Apache Software Foundation. All rights reserved.