public final class RewriteUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RewriteUtil.DriverRewriterRunnable |
| Modifier and Type | Method and Description |
|---|---|
static CubeMetastoreClient |
getClient(org.apache.hadoop.hive.conf.HiveConf conf) |
static DriverQueryPlan |
getRewriterPlan(RewriteUtil.DriverRewriterRunnable rewriter) |
static Map<LensDriver,RewriteUtil.DriverRewriterRunnable> |
rewriteQuery(AbstractQueryContext ctx)
Rewrite query.
|
public static CubeMetastoreClient getClient(org.apache.hadoop.hive.conf.HiveConf conf) throws LensException
LensExceptionpublic static Map<LensDriver,RewriteUtil.DriverRewriterRunnable> rewriteQuery(AbstractQueryContext ctx) throws LensException
ctx - the query contextLensException - the lens exceptionpublic static DriverQueryPlan getRewriterPlan(RewriteUtil.DriverRewriterRunnable rewriter)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.