DefaultReadHooks (Cloud Bigtable HBase Client for Java 1.10.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.cloud.bigtable.data.v2.models.Query,com.google.cloud.bigtable.data.v2.models.Query> newHook)
        Add a Function that will modify the Query before it is sent to Cloud Bigtable.
        Specified by:
        composePreSendHook in interface ReadHooks
        Parameters:
        newHook - a Function object.
      • applyPreSendHook

        public void applyPreSendHook(com.google.cloud.bigtable.data.v2.models.Query query)
        Apply all pre-send hooks to the given request.
        Specified by:
        applyPreSendHook in interface ReadHooks
        Parameters:
        query - a Query object.


Oliko tästä sivusta apua? Kerro mielipiteesi

Palautteen aihe:

Tämä sivu
Cloud Bigtable Documentation