public abstract class DelegateQueryPlan extends Object implements QueryPlan
Constructor and Description |
---|
DelegateQueryPlan(QueryPlan delegate) |
Modifier and Type | Method and Description |
---|---|
StatementContext |
getContext() |
long |
getEstimatedSize() |
GroupByCompiler.GroupBy |
getGroupBy() |
Integer |
getLimit() |
OrderByCompiler.OrderBy |
getOrderBy() |
ParameterMetaData |
getParameterMetaData()
Returns the ParameterMetaData for the statement
|
RowProjector |
getProjector()
Returns projector used to formulate resultSet row
|
List<List<Scan>> |
getScans() |
List<KeyRange> |
getSplits() |
FilterableStatement |
getStatement() |
TableRef |
getTableRef() |
boolean |
isDegenerate() |
boolean |
isRowKeyOrdered() |
boolean |
useRoundRobinIterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExplainPlan
protected final QueryPlan delegate
public DelegateQueryPlan(QueryPlan delegate)
public StatementContext getContext()
getContext
in interface StatementPlan
public ParameterMetaData getParameterMetaData()
StatementPlan
getParameterMetaData
in interface StatementPlan
public long getEstimatedSize()
getEstimatedSize
in interface QueryPlan
public TableRef getTableRef()
getTableRef
in interface QueryPlan
public RowProjector getProjector()
QueryPlan
getProjector
in interface QueryPlan
public OrderByCompiler.OrderBy getOrderBy()
getOrderBy
in interface QueryPlan
public GroupByCompiler.GroupBy getGroupBy()
getGroupBy
in interface QueryPlan
public FilterableStatement getStatement()
getStatement
in interface QueryPlan
public boolean isDegenerate()
isDegenerate
in interface QueryPlan
public boolean isRowKeyOrdered()
isRowKeyOrdered
in interface QueryPlan
public boolean useRoundRobinIterator() throws SQLException
useRoundRobinIterator
in interface QueryPlan
ResultScanner
can be picked up in a round-robin
fashion. Generally, selecting scanners in such a fashion is possible if rows don't
have to be returned back in a certain order.SQLException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.