public final class TimestampsFilter extends ScanFilter
Note: Use of this filter overrides any time range/time stamp
options specified using Scanner.setTimeRange(long, long)
.
Constructor and Description |
---|
TimestampsFilter(Collection<Long> timestamps)
Create a timestamp filter which filters all key values with a timestamp not
in the provided collection.
|
TimestampsFilter(Long... timestamps)
Create a timestamp filter which filters all key values with a timestamp
not in the provided timestamps.
|
public TimestampsFilter(Collection<Long> timestamps)
timestamps
- collection of timestamps to keeppublic TimestampsFilter(Long... timestamps)
timestamps
- collection of timestamps to keep