This project has retired. For details please refer to its Attic page.
RewriterPlan (Lens 2.1.0-beta-incubating API)

org.apache.lens.driver.cube
Class RewriterPlan

java.lang.Object
  extended by org.apache.lens.server.api.driver.DriverQueryPlan
      extended by org.apache.lens.driver.cube.RewriterPlan

public final class RewriterPlan
extends DriverQueryPlan

The Rewriter plan


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lens.server.api.driver.DriverQueryPlan
DriverQueryPlan.ExecMode, DriverQueryPlan.ScanMode
 
Constructor Summary
RewriterPlan(Collection<CubeQueryContext> cubeQueries)
           
 
Method Summary
 QueryCost getCost()
          Get the cost associated with the plan
 String getPlan()
          Get the query plan
 
Methods inherited from class org.apache.lens.server.api.driver.DriverQueryPlan
getExecMode, getHandle, getPartitions, getPrepareHandle, getResultDestination, getScanMode, getTablesQueried, getTableWeight, getTableWeights, hasSubQuery, setPrepareHandle, toQueryPlan
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RewriterPlan

public RewriterPlan(Collection<CubeQueryContext> cubeQueries)
Method Detail

getPlan

public String getPlan()
Description copied from class: DriverQueryPlan
Get the query plan

Specified by:
getPlan in class DriverQueryPlan
Returns:
The string representation of the plan

getCost

public QueryCost getCost()
Description copied from class: DriverQueryPlan
Get the cost associated with the plan

Specified by:
getCost in class DriverQueryPlan
Returns:
QueryCost object


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.