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
LensException
public 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–2016 Apache Software Foundation. All rights reserved.