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)
| 619 | * @since 1.3 |
| 620 | */ |
| 621 | public void setMinTimestamp(final long timestamp) { |
| 622 | if (timestamp < 0) { |
| 623 | throw new IllegalArgumentException("Negative timestamp: " + timestamp); |
| 624 | } else if (timestamp > max_timestamp) { |
| 625 | throw new IllegalArgumentException("New minimum timestamp (" + timestamp |
| 626 | + ") is greater than the maximum" |
| 627 | + " timestamp: " + max_timestamp); |
| 628 | } |
| 629 | checkScanningNotStarted(); |
| 630 | min_timestamp = timestamp; |
| 631 | } |
| 632 | |
| 633 | /** |
| 634 | * Returns the minimum timestamp to scan (inclusive). |
nothing calls this directly
no test coverage detected