public class ScanPlan extends BaseQueryPlan
context, DEFAULT_ESTIMATED_SIZE, groupBy, limit, orderBy, parallelIteratorFactory, paramMetaData, projection, statement, tableRef
Constructor and Description |
---|
ScanPlan(StatementContext context,
FilterableStatement statement,
TableRef table,
RowProjector projector,
Integer limit,
OrderByCompiler.OrderBy orderBy,
ParallelIteratorFactory parallelIteratorFactory,
boolean allowPageFilter) |
Modifier and Type | Method and Description |
---|---|
List<List<Scan>> |
getScans() |
List<KeyRange> |
getSplits() |
protected ResultIterator |
newIterator(ParallelScanGrouper scanGrouper) |
boolean |
useRoundRobinIterator() |
getContext, getEstimatedSize, getExplainPlan, getGroupBy, getLimit, getOrderBy, getParameterMetaData, getProjector, getStatement, getTableRef, isDegenerate, isRowKeyOrdered, iterator, iterator, iterator
public ScanPlan(StatementContext context, FilterableStatement statement, TableRef table, RowProjector projector, Integer limit, OrderByCompiler.OrderBy orderBy, ParallelIteratorFactory parallelIteratorFactory, boolean allowPageFilter) throws SQLException
SQLException
protected ResultIterator newIterator(ParallelScanGrouper scanGrouper) throws SQLException
newIterator
in class BaseQueryPlan
SQLException
public boolean useRoundRobinIterator() throws SQLException
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.