BigtableResultScannerAdapter (Cloud Bigtable HBase Client for Java 1.6.0 API)

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

Class BigtableResultScannerAdapter<T>

  • java.lang.Object
    • com.google.cloud.bigtable.hbase.adapters.read.BigtableResultScannerAdapter<T>


  • public class BigtableResultScannerAdapter<T>
    extends Object
    Adapt a Bigtable ResultScanner to an HBase Result Scanner.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • BigtableResultScannerAdapter

        public BigtableResultScannerAdapter(ResponseAdapter<T,Result> rowAdapter)

        Constructor for BigtableResultScannerAdapter.

        Parameters:
        rowAdapter - a ResponseAdapter object.
    • Method Detail

      • adapt

        public ResultScanner adapt(ResultScanner<T> 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