ReadHooks (Cloud Bigtable HBase Client for Java 1.3.0 API)

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

Interface ReadHooks

  • All Known Implementing Classes:
    DefaultReadHooks


    public interface ReadHooks
    Hooks for modifying a ReadRowsRequest before being sent to Cloud Bigtable. Note that it is expected that this will be extended to include post-read hooks to transform Rows when appropriate.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      com.google.bigtable.v2.ReadRowsRequest applyPreSendHook(com.google.bigtable.v2.ReadRowsRequest readRowsRequest)
      Apply all pre-send hooks to the given request.
      void composePreSendHook(Function<com.google.bigtable.v2.ReadRowsRequest,com.google.bigtable.v2.ReadRowsRequest> newHook)
      Add a Function that will modify the ReadRowsRequest before it is sent to Cloud Bigtable.
    • Method Detail

      • composePreSendHook

        void composePreSendHook(Function<com.google.bigtable.v2.ReadRowsRequest,com.google.bigtable.v2.ReadRowsRequest> newHook)
        Add a Function that will modify the ReadRowsRequest before it is sent to Cloud Bigtable.
        Parameters:
        newHook - a Function object.
      • applyPreSendHook

        com.google.bigtable.v2.ReadRowsRequest applyPreSendHook(com.google.bigtable.v2.ReadRowsRequest readRowsRequest)
        Apply all pre-send hooks to the given request.
        Parameters:
        readRowsRequest - a ReadRowsRequest object.
        Returns:
        a ReadRowsRequest object.


Send feedback about...

Cloud Bigtable Documentation