TypedFilterAdapter (Cloud Bigtable HBase Client for Java 1.12.0 API)


Interface TypedFilterAdapter<S extends Filter>

    • Method Detail

      • adapt

        com.google.cloud.bigtable.data.v2.models.Filters.Filter 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.
        context - a FilterAdapterContext object.
        filter - a S object.
        a Filters.Filter object.
        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()
        filter - a S object.
        a RangeSet object.

Esta página foi útil? Conte sua opinião sobre:

Enviar comentários sobre…

Cloud Bigtable Documentation