ScanAdapter (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.hbase.adapters.read

Class ScanAdapter

    • Method Detail

      • throwIfUnsupportedScan

        public void throwIfUnsupportedScan(Scan scan)
        throwIfUnsupportedScan.
        Parameters:
        scan - a Scan object.
      • buildFilter

        public com.google.cloud.bigtable.data.v2.models.Filters.Filter buildFilter(Scan scan,
                                                                                   ReadHooks hooks)
        Given a Scan, build a Filters.Filter that include matching columns
        Parameters:
        scan - a Scan object.
        hooks - a ReadHooks object.
        Returns:
        a Filters.Filter object.
      • adapt

        public void adapt(Scan scan,
                          ReadHooks readHooks,
                          com.google.cloud.bigtable.data.v2.models.Query query)
        adapt.
        Specified by:
        adapt in interface ReadOperationAdapter<Scan>
        Parameters:
        scan - a T object.
        readHooks - a ReadHooks object.
        query - a Query object.