public class LiteralResultIterationPlan extends BaseQueryPlan
Modifier and Type | Field and Description |
---|---|
protected Iterable<Tuple> |
tuples |
context, DEFAULT_ESTIMATED_SIZE, dynamicFilter, estimatedRows, estimatedSize, estimateInfoTimestamp, groupBy, limit, offset, orderBy, parallelIteratorFactory, paramMetaData, projection, statement, tableRef, tableRefs
Constructor and Description |
---|
LiteralResultIterationPlan(Iterable<Tuple> tuples,
StatementContext context,
FilterableStatement statement,
TableRef tableRef,
RowProjector projection,
Integer limit,
Integer offset,
OrderByCompiler.OrderBy orderBy,
ParallelIteratorFactory parallelIteratorFactory) |
LiteralResultIterationPlan(StatementContext context,
FilterableStatement statement,
TableRef tableRef,
RowProjector projection,
Integer limit,
Integer offset,
OrderByCompiler.OrderBy orderBy,
ParallelIteratorFactory parallelIteratorFactory) |
Modifier and Type | Method and Description |
---|---|
Long |
getEstimatedBytesToScan() |
Long |
getEstimatedRowsToScan() |
Long |
getEstimateInfoTimestamp() |
List<List<Scan>> |
getScans() |
List<KeyRange> |
getSplits() |
protected ResultIterator |
newIterator(ParallelScanGrouper scanGrouper,
Scan scan,
Map<ImmutableBytesPtr,ServerCacheClient.ServerCache> caches) |
boolean |
useRoundRobinIterator() |
getContext, getDynamicFilter, getEstimatedSize, getExplainPlan, getGroupBy, getLimit, getOffset, getOperation, getOrderBy, getParameterMetaData, getProjector, getSourceRefs, getStatement, getTableRef, isDegenerate, isRowKeyOrdered, iterator, iterator, iterator, iterator
public LiteralResultIterationPlan(StatementContext context, FilterableStatement statement, TableRef tableRef, RowProjector projection, Integer limit, Integer offset, OrderByCompiler.OrderBy orderBy, ParallelIteratorFactory parallelIteratorFactory) throws SQLException
SQLException
public LiteralResultIterationPlan(Iterable<Tuple> tuples, StatementContext context, FilterableStatement statement, TableRef tableRef, RowProjector projection, Integer limit, Integer offset, OrderByCompiler.OrderBy orderBy, ParallelIteratorFactory parallelIteratorFactory) throws SQLException
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
protected ResultIterator newIterator(ParallelScanGrouper scanGrouper, Scan scan, Map<ImmutableBytesPtr,ServerCacheClient.ServerCache> caches) throws SQLException
newIterator
in class BaseQueryPlan
SQLException
public Long getEstimatedRowsToScan()
getEstimatedRowsToScan
in interface StatementPlan
getEstimatedRowsToScan
in class BaseQueryPlan
public Long getEstimatedBytesToScan()
getEstimatedBytesToScan
in interface StatementPlan
getEstimatedBytesToScan
in class BaseQueryPlan
public Long getEstimateInfoTimestamp() throws SQLException
getEstimateInfoTimestamp
in interface StatementPlan
getEstimateInfoTimestamp
in class BaseQueryPlan
SQLException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.