HBASE-16626 User customized RegionScanner from 1.X is incompatible with 2.0.0's off-heap part. (Charlie Qiangeng Xu)
This commit is contained in:
parent
e6f8f6dbd0
commit
56be3ac7c8
|
@ -115,4 +115,13 @@ public interface RegionScanner extends InternalScanner, Shipper {
|
||||||
*/
|
*/
|
||||||
boolean nextRaw(List<Cell> result, ScannerContext scannerContext)
|
boolean nextRaw(List<Cell> result, ScannerContext scannerContext)
|
||||||
throws IOException;
|
throws IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Empty implementation to provide compatibility for user migrating from 1.X
|
||||||
|
* @see <a href="https://issues.apache.org/jira/browse/HBASE-16626">HBASE-16626</a>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
default void shipped() throws IOException {
|
||||||
|
// do nothing
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue