Sets the minimum timestamp to scan (inclusive). KeyValues that have a timestamp strictly less than this one will not be returned by the scanner. HBase has internal optimizations to avoid loading in memory data filtered out in some cases. @param timestamp The minimum timestamp to scan (i
(final long timestamp)
| 328 | * @since 1.7 |
| 329 | */ |
| 330 | public GetRequest setMinTimestamp(final long timestamp) { |
| 331 | if (timestamp < 0) { |
| 332 | throw new IllegalArgumentException("Negative timestamp: " + timestamp); |
| 333 | } else if (timestamp > max_timestamp) { |
| 334 | throw new IllegalArgumentException("New minimum timestamp (" + timestamp |
| 335 | + ") is greater than the maximum" |
| 336 | + " timestamp: " + max_timestamp); |
| 337 | } |
| 338 | min_timestamp = timestamp; |
| 339 | return this; |
| 340 | } |
| 341 | |
| 342 | /** |
| 343 | * Returns the minimum timestamp to scan (inclusive). |
no outgoing calls