com.google.cloud.bigtable.hbase.adapters.read
Class DefaultReadHooks
- java.lang.Object
-
- com.google.cloud.bigtable.hbase.adapters.read.DefaultReadHooks
-
-
Constructor Summary
Constructors Constructor and Description DefaultReadHooks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
applyPreSendHook(com.google.cloud.bigtable.data.v2.models.Query query)
Apply all pre-send hooks to the given request.void
composePreSendHook(Function<com.google.cloud.bigtable.data.v2.models.Query,com.google.cloud.bigtable.data.v2.models.Query> newHook)
Add aFunction
that will modify theQuery
before it is sent to Cloud Bigtable.
-
-
-
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 aFunction
that will modify theQuery
before it is sent to Cloud Bigtable.- Specified by:
composePreSendHook
in interfaceReadHooks
- Parameters:
newHook
- aFunction
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 interfaceReadHooks
- Parameters:
query
- aQuery
object.
-
-