Constructor and Description |
---|
DefaultReadHooks() |
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(com.google.common.base.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. |
public void composePreSendHook(com.google.common.base.Function<com.google.cloud.bigtable.data.v2.models.Query,com.google.cloud.bigtable.data.v2.models.Query> newHook)
Function
that will modify the Query
before it is sent to Cloud Bigtable.composePreSendHook
in interface ReadHooks
newHook
- a Function
object.public void applyPreSendHook(com.google.cloud.bigtable.data.v2.models.Query query)
applyPreSendHook
in interface ReadHooks
query
- a Query
object.