|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryRewriter
The Interface QueryRewriter.
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,
org.apache.hadoop.hive.conf.HiveConf metastoreConf)
Rewrite. |
Method Detail |
---|
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 passed
LensException
- the lens exceptionvoid init(org.apache.hadoop.conf.Configuration rewriteConf)
rewriteConf
- Configuration required for rewriter init
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |