@InternalExtensionOnly public class TimestampRangeFilter extends org.apache.hadoop.hbase.filter.FilterBase implements Serializable
Constructor and Description |
---|
TimestampRangeFilter(long startTimestamp,
long endTimestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
filterKeyValue(org.apache.hadoop.hbase.Cell cell)
This is for HBase compatibility, and will not be used for Cloud Bigtable
|
long |
getEndTimestampExclusive() |
long |
getStartTimestampInclusive() |
static TimestampRangeFilter |
parseFrom(byte[] bytes) |
byte[] |
toByteArray() |
public TimestampRangeFilter(long startTimestamp, long endTimestamp)
public long getStartTimestampInclusive()
public long getEndTimestampExclusive()
public org.apache.hadoop.hbase.filter.Filter.ReturnCode filterKeyValue(org.apache.hadoop.hbase.Cell cell) throws IOException
filterKeyValue
in class org.apache.hadoop.hbase.filter.Filter
IOException
public byte[] toByteArray() throws IOException
toByteArray
in class org.apache.hadoop.hbase.filter.FilterBase
IOException
public static TimestampRangeFilter parseFrom(byte[] bytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException
org.apache.hadoop.hbase.exceptions.DeserializationException