org.apache.lens.driver.cube
Class RewriteUtil
java.lang.Object
org.apache.lens.driver.cube.RewriteUtil
public final class RewriteUtil
- extends Object
The Class RewriteUtil.
Field Summary |
static org.apache.log4j.Logger |
LOG
|
LOG
public static final org.apache.log4j.Logger LOG
rewriteQuery
public static Map<LensDriver,String> rewriteQuery(AbstractQueryContext ctx)
throws LensException
- Rewrite query.
- Parameters:
ctx
- the query context
- Returns:
- the map
- Throws:
LensException
- the lens exception
isCubeQuery
public static boolean isCubeQuery(String query)
- Checks if is cube query.
- Parameters:
query
- the query
- Returns:
- true, if is cube query
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.