DefaultReadHooks (Cloud Bigtable HBase Client for Java 1.3.0 API)

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

Class DefaultReadHooks

  • java.lang.Object
    • com.google.cloud.bigtable.hbase.adapters.read.DefaultReadHooks
  • All Implemented Interfaces:
    ReadHooks


    public class DefaultReadHooks
    extends Object
    implements ReadHooks
    Default implementation of ReadHooks.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Constructor Detail

      • DefaultReadHooks

        public DefaultReadHooks()
    • Method Detail

      • composePreSendHook

        public 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.
        Specified by:
        composePreSendHook in interface ReadHooks
        Parameters:
        newHook - a Function object.
      • applyPreSendHook

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


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

Send feedback about...

Cloud Bigtable Documentation