public class QueryPlan extends QuerySubmitResult
Constructor and Description |
---|
QueryPlan(boolean hasError,
String errorMsg)
Instantiates a new query plan.
|
QueryPlan(List<String> tablesQueried,
boolean hasSubQuery,
String execMode,
String scanMode,
QueryPrepareHandle prepareHandle,
String planString,
QueryCostTO queryCost,
boolean error,
String errorMsg) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMsg()
The error msg.
|
String |
getExecMode()
The exec mode.
|
String |
getPlanString() |
QueryPrepareHandle |
getPrepareHandle()
The prepare handle.
|
QueryCostTO |
getQueryCost()
The query cost.
|
String |
getScanMode()
The scan mode.
|
List<String> |
getTablesQueried()
The tables queried.
|
boolean |
isError()
The error.
|
boolean |
isHasSubQuery()
The has sub query.
|
void |
setPrepareHandle(QueryPrepareHandle prepareHandle)
The prepare handle.
|
public QueryPlan(boolean hasError, String errorMsg)
hasError
- the has errorerrorMsg
- the error msg@ConstructorProperties(value={"tablesQueried","hasSubQuery","execMode","scanMode","prepareHandle","planString","queryCost","error","errorMsg"}) @Generated(value="lombok") public QueryPlan(List<String> tablesQueried, boolean hasSubQuery, String execMode, String scanMode, QueryPrepareHandle prepareHandle, String planString, QueryCostTO queryCost, boolean error, String errorMsg)
public String getPlanString() throws UnsupportedEncodingException
UnsupportedEncodingException
@Generated(value="lombok") public List<String> getTablesQueried()
@Generated(value="lombok") public boolean isHasSubQuery()
@Generated(value="lombok") public String getExecMode()
@Generated(value="lombok") public String getScanMode()
@Generated(value="lombok") public QueryPrepareHandle getPrepareHandle()
@Generated(value="lombok") public void setPrepareHandle(QueryPrepareHandle prepareHandle)
@Generated(value="lombok") public QueryCostTO getQueryCost()
@Generated(value="lombok") public boolean isError()
@Generated(value="lombok") public String getErrorMsg()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.