HBASE-16929 Move default method of shipped to Shipper interface - revert pending finding cause for Phoenix compilation error
This commit is contained in:
parent
187ff190ed
commit
97cb1d71bc
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -33,5 +33,5 @@ public interface Shipper {
|
||||||
* Called after a batch of rows scanned and set to be returned to client. Any in between cleanup
|
* Called after a batch of rows scanned and set to be returned to client. Any in between cleanup
|
||||||
* can be done here.
|
* can be done here.
|
||||||
*/
|
*/
|
||||||
default void shipped() throws IOException { }
|
void shipped() throws IOException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue