public interface ParallelScanGrouper
Modifier and Type | Method and Description |
---|---|
List<HRegionLocation> |
getRegionBoundaries(StatementContext context,
byte[] tableName) |
boolean |
shouldStartNewScan(QueryPlan plan,
List<Scan> scans,
byte[] startKey,
boolean crossedRegionBoundary)
Determines whether to create a new group of parallel scans.
|
boolean shouldStartNewScan(QueryPlan plan, List<Scan> scans, byte[] startKey, boolean crossedRegionBoundary)
scans
- current scan groupplan
- current query planstartKey
- start key of scancrossedRegionBoundary
- whether we crossed a region boundaryList<HRegionLocation> getRegionBoundaries(StatementContext context, byte[] tableName) throws SQLException
SQLException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.