bbeaudreault opened a new pull request #3532:
URL: https://github.com/apache/hbase/pull/3532


   https://issues.apache.org/jira/browse/HBASE-26122
   
   Adds a `Get#setMaxResultSize(long)` method, similar to the one in Scan. The 
default is -1, meaning not enabled. When a max result size is added to a Get 
and there are more cells than fit in the specified size, 
`Result#mayHaveMoreCellsInRow()` will be true. This utilizes ScannerContext on 
the server side, since Gets are backed by single row scans.
   
   Unlike Scans, no response stitching is implemented. The user must handle the 
possible true value in `Result#mayHaveMoreCellsInRow()` accordingly. This seems 
like a fine initial behavior since the default is unlimited, meaning a user 
would have to opt in to this new functionality with the intent to handle the 
possible return values.
   
   I've added tests to TestHRegion for the HRegion implementation. For the 
RSRpcServices I wasn't sure of the best convention, so I added it to the 
existing TestPartialResultsFromClientSide. All new tests pass.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to