Serializable
public class BigtableFilter extends org.apache.hadoop.hbase.filter.FilterBase implements Serializable
Filter
that wraps a Cloud Bigtable Filters.Filter
. Generally, users
should opt for a pure HBase Filter
. There are complex cases where a Cloud Bigtable
Filters.Filter
can express a more robust expression than the HBase semantics, or can
be used to express an expression that's more performant than a translation of a complex
HBase FilterList
.Constructor | Description |
---|---|
BigtableFilter(com.google.cloud.bigtable.data.v2.models.Filters.Filter filter) |
|
BigtableFilter(com.google.cloud.bigtable.data.v2.wrappers.Filters.Filter filter) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
filterKeyValue(org.apache.hadoop.hbase.Cell cell) |
|
com.google.cloud.bigtable.data.v2.models.Filters.Filter |
getFilter() |
|
static BigtableFilter |
parseFrom(byte[] bytes) |
|
byte[] |
toByteArray() |
public BigtableFilter(com.google.cloud.bigtable.data.v2.models.Filters.Filter filter)
@Deprecated public BigtableFilter(com.google.cloud.bigtable.data.v2.wrappers.Filters.Filter filter)
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 com.google.cloud.bigtable.data.v2.models.Filters.Filter getFilter()
public byte[] toByteArray() throws IOException
toByteArray
in class org.apache.hadoop.hbase.filter.FilterBase
IOException
public static BigtableFilter parseFrom(byte[] bytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException
org.apache.hadoop.hbase.exceptions.DeserializationException