MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / setMinTimestamp

Method setMinTimestamp

src/Scanner.java:621–631  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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).

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected