com.google.cloud.bigtable.hbase.adapters.filters
Class SingleColumnValueExcludeFilterAdapter
- java.lang.Object
-
- com.google.cloud.bigtable.hbase.adapters.filters.TypedFilterAdapterBase<SingleColumnValueExcludeFilter>
-
- com.google.cloud.bigtable.hbase.adapters.filters.SingleColumnValueExcludeFilterAdapter
-
- All Implemented Interfaces:
- TypedFilterAdapter<SingleColumnValueExcludeFilter>
public class SingleColumnValueExcludeFilterAdapter extends TypedFilterAdapterBase<SingleColumnValueExcludeFilter>
Adapter for theSingleColumnValueFilter
- Version:
- $Id: $Id
- Author:
- sduskis
-
-
Constructor Summary
Constructors Constructor and Description SingleColumnValueExcludeFilterAdapter(SingleColumnValueFilterAdapter delegateAdapter)
Constructor for SingleColumnValueExcludeFilterAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description com.google.cloud.bigtable.data.v2.models.Filters.Filter
adapt(FilterAdapterContext context, SingleColumnValueExcludeFilter filter)
Adapt the given filter.FilterSupportStatus
isFilterSupported(FilterAdapterContext context, SingleColumnValueExcludeFilter filter)
Determine if the given filter can be adapted to a Bigtable RowFilter.-
Methods inherited from class com.google.cloud.bigtable.hbase.adapters.filters.TypedFilterAdapterBase
getIndexScanHint
-
-
-
-
Constructor Detail
-
SingleColumnValueExcludeFilterAdapter
public SingleColumnValueExcludeFilterAdapter(SingleColumnValueFilterAdapter delegateAdapter)
Constructor for SingleColumnValueExcludeFilterAdapter.- Parameters:
delegateAdapter
- aSingleColumnValueFilterAdapter
object.
-
-
Method Detail
-
adapt
public com.google.cloud.bigtable.data.v2.models.Filters.Filter adapt(FilterAdapterContext context, SingleColumnValueExcludeFilter filter) throws IOException
Adapt the given filter. Implementers of this method should assume that isFilterSupported has already been called with a result indicating it is in fact supproted.- Parameters:
context
- aFilterAdapterContext
object.filter
- a S object.- Returns:
- a
Filters.Filter
object. - Throws:
IOException
- if any.
-
isFilterSupported
public FilterSupportStatus isFilterSupported(FilterAdapterContext context, SingleColumnValueExcludeFilter filter)
Determine if the given filter can be adapted to a Bigtable RowFilter.- Parameters:
context
- aFilterAdapterContext
object.filter
- a S object.- Returns:
- a
FilterSupportStatus
object.
-
-