Constructor and Description |
---|
DefaultReadHooks() |
Modifier and Type | Method and Description |
---|---|
com.google.bigtable.v2.ReadRowsRequest |
applyPreSendHook(com.google.bigtable.v2.ReadRowsRequest readRowsRequest)
Apply all pre-send hooks to the given request.
|
void |
composePreSendHook(com.google.common.base.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.
|
public void composePreSendHook(com.google.common.base.Function<com.google.bigtable.v2.ReadRowsRequest,com.google.bigtable.v2.ReadRowsRequest> newHook)
composePreSendHook
in interface ReadHooks
newHook
- a Function
object.public com.google.bigtable.v2.ReadRowsRequest applyPreSendHook(com.google.bigtable.v2.ReadRowsRequest readRowsRequest)
applyPreSendHook
in interface ReadHooks
readRowsRequest
- a ReadRowsRequest
object.ReadRowsRequest
object.