| 程序包 | 说明 |
|---|---|
| com.pingcap.tikv.operation.iterator |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DAGIterator<T> |
| 限定符和类型 | 方法和说明 |
|---|---|
static CoprocessorIterator<Handle> |
CoprocessorIterator.getHandleIterator(TiDAGRequest req,
List<org.tikv.common.util.RangeSplitter.RegionTask> regionTasks,
ClientSession clientSession)
Build a DAGIterator from TiDAGRequest and region tasks to get handles
When we use getHandleIterator, we must be preforming a IndexScan.
|
static CoprocessorIterator<Row> |
CoprocessorIterator.getRowIterator(TiDAGRequest req,
List<org.tikv.common.util.RangeSplitter.RegionTask> regionTasks,
ClientSession clientSession)
Build a DAGIterator from TiDAGRequest and region tasks to get rows
When we are preforming a scan request using coveringIndex,
IndexScan should be used to read index rows. |
static CoprocessorIterator<TiChunk> |
CoprocessorIterator.getTiChunkIterator(TiDAGRequest req,
List<org.tikv.common.util.RangeSplitter.RegionTask> regionTasks,
ClientSession clientSession,
int numOfRows)
Build a DAGIterator from TiDAGRequest and region tasks to get rows
When we are preforming a scan request using coveringIndex,
IndexScan should be used to read index rows. |
Copyright © 2023 PingCAP. All rights reserved.