org.apache.lens.driver.cube
Class RewriteUtil

java.lang.Object
  extended by org.apache.lens.driver.cube.RewriteUtil

public final class RewriteUtil
extends Object

The Class RewriteUtil.


Field Summary
static org.apache.log4j.Logger LOG
           
 
Method Summary
static boolean isCubeQuery(String query)
          Checks if is cube query.
static Map<LensDriver,String> rewriteQuery(AbstractQueryContext ctx)
          Rewrite query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Method Detail

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.