Specifies up to which row key to scan (exclusive). @param stop_key The row key to scan up to. If you don't invoke this method, or if the array is empty (stop_key.length == 0), every row up to and including the last one will be scanned. This byte array will NOT be copied. @t
(final byte[] stop_key)
| 283 | * @throws IllegalStateException if scanning already started. |
| 284 | */ |
| 285 | public void setStopKey(final byte[] stop_key) { |
| 286 | KeyValue.checkKey(stop_key); |
| 287 | checkScanningNotStarted(); |
| 288 | this.stop_key = stop_key; |
| 289 | } |
| 290 | |
| 291 | /** |
| 292 | * Specifies up to which row key to scan (exclusive). |