TypedFilterAdapter (Cloud Bigtable HBase Client for Java 1.5.0 API)

com.google.cloud.bigtable.hbase.adapters.filters

Interface TypedFilterAdapter<S extends Filter>

    • Method Detail

      • adapt

        com.google.bigtable.v2.RowFilter adapt(FilterAdapterContext context,
                                               S 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 - a FilterAdapterContext object.
        filter - a S object.
        Returns:
        a RowFilter object.
        Throws:
        IOException - if any.
      • getIndexScanHint

        RangeSet<RowKeyWrapper> getIndexScanHint(S filter)
        Get hints how to optimize the scan. For example if the filter will narrow the scan using the prefix "ab" then we can restrict the scan to ["ab" - "ac"). If the filter doesn't narrow the scan then it should return Range.all()


Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Bigtable Documentation