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

Method setMinTimestamp

src/GetRequest.java:330–340  ·  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

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

Callers 1

timestampsOnGetMethod · 0.95

Calls

no outgoing calls

Tested by 1

timestampsOnGetMethod · 0.76