BigtableWhileMatchResultScannerAdapter (Cloud Bigtable HBase Client for Java 1.5.0 API)

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

Class BigtableWhileMatchResultScannerAdapter

  • java.lang.Object
    • com.google.cloud.bigtable.hbase.adapters.filters.BigtableWhileMatchResultScannerAdapter


  • public class BigtableWhileMatchResultScannerAdapter
    extends Object
    Adapt a Bigtable ResultScanner to an HBase Result Scanner. Stops when WhileMatchFilter filters out the remaining rows.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • BigtableWhileMatchResultScannerAdapter

        public BigtableWhileMatchResultScannerAdapter(ResponseAdapter<FlatRow,Result> rowAdapter)

        Constructor for BigtableWhileMatchResultScannerAdapter.

        Parameters:
        rowAdapter - a ResponseAdapter object.
    • Method Detail

      • adapt

        public ResultScanner adapt(ResultScanner<FlatRow> bigtableResultScanner,
                                   io.opencensus.trace.Span span)

        adapt.

        Parameters:
        bigtableResultScanner - a ResultScanner object.
        span - A parent Span for the scan that needs to be closed when the scanning is complete. The span has an HBase specific tag, which needs to be handled by the adapter.
        Returns:
        a ResultScanner object.


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

Send feedback about...

Cloud Bigtable Documentation