public final class RewriteUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RewriteUtil.DriverRewriterRunnable |
Modifier and Type | Method and Description |
---|---|
static DriverQueryPlan |
getRewriterPlan(RewriteUtil.DriverRewriterRunnable rewriter) |
static boolean |
isCubeQuery(String query)
Checks if is cube query.
|
static Map<LensDriver,RewriteUtil.DriverRewriterRunnable> |
rewriteQuery(AbstractQueryContext ctx)
Rewrite query.
|
public static Map<LensDriver,RewriteUtil.DriverRewriterRunnable> rewriteQuery(AbstractQueryContext ctx) throws LensException
ctx
- the query contextLensException
- the lens exceptionpublic static DriverQueryPlan getRewriterPlan(RewriteUtil.DriverRewriterRunnable rewriter)
public static boolean isCubeQuery(String query)
query
- the queryCopyright © 2014–2015 Apache Software Foundation. All rights reserved.