|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.server.api.driver.DriverQueryPlan
public abstract class DriverQueryPlan
The Class DriverQueryPlan.
Nested Class Summary | |
---|---|
static class |
DriverQueryPlan.ExecMode
The Enum ExecMode. |
static class |
DriverQueryPlan.ScanMode
The Enum ScanMode. |
Constructor Summary | |
---|---|
DriverQueryPlan()
|
Method Summary | |
---|---|
abstract QueryCost |
getCost()
Get the cost associated with the plan |
DriverQueryPlan.ExecMode |
getExecMode()
Get the exec mode |
QueryHandle |
getHandle()
Deprecated. |
Map<String,Set<?>> |
getPartitions()
Get list of partitions queried for each table |
abstract String |
getPlan()
Get the query plan |
QueryPrepareHandle |
getPrepareHandle()
|
String |
getResultDestination()
Get the result destination |
DriverQueryPlan.ScanMode |
getScanMode()
Get the scan mode. |
Set<String> |
getTablesQueried()
Get the list of tables to be queried |
Double |
getTableWeight(String tableName)
Get the weight of the table. |
Map<String,Double> |
getTableWeights()
Get the table weights |
boolean |
hasSubQuery()
Get if the query has a subquery or not. |
void |
setPrepareHandle(QueryPrepareHandle handle)
|
QueryPlan |
toQueryPlan()
To query plan. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DriverQueryPlan()
Method Detail |
---|
public abstract String getPlan()
public abstract QueryCost getCost()
public Set<String> getTablesQueried()
public boolean hasSubQuery()
public String getResultDestination()
public Map<String,Double> getTableWeights()
public Double getTableWeight(String tableName)
tableName
- the table name
public DriverQueryPlan.ExecMode getExecMode()
DriverQueryPlan.ExecMode
public DriverQueryPlan.ScanMode getScanMode()
DriverQueryPlan.ScanMode
public QueryHandle getHandle()
public QueryPrepareHandle getPrepareHandle()
public void setPrepareHandle(QueryPrepareHandle handle)
handle
- the handle to setpublic Map<String,Set<?>> getPartitions()
public QueryPlan toQueryPlan() throws UnsupportedEncodingException
UnsupportedEncodingException
- the unsupported encoding exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |