DefaultReadHooks
public interface ReadHooks
Query
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.Modifier and Type | Method | 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. |
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.newHook
- a Function
object.void applyPreSendHook(com.google.cloud.bigtable.data.v2.models.Query query)
query
- a Query
object.