@InterfaceAudience.Private interface ScanResultCache
After we add heartbeat support for scan, RS may return partial result even if allowPartial is false and batch is 0. With this interface, the implementation now looks like:
Result addAndGet(Result results, boolean isHeartbeatMessage) throws IOException
results- the results of a scan next. Must not be null.
isHeartbeatMessage- indicate whether the results is gotten from a heartbeat response.
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.