@FunctionalInterface public interface StatementFilterFunction
execute function.
The filter is executed when a Subscriber subscribes to the Publisher returned by
the DatabaseClient.
ExecuteFunction| Modifier and Type | Method and Description |
|---|---|
default StatementFilterFunction |
andThen(StatementFilterFunction afterFilter)
Return a composed filter function that first applies this filter, and then applies the given
"after"
filter. |
org.reactivestreams.Publisher<? extends Result> |
filter(Statement statement,
ExecuteFunction next)
Apply this filter to the given
Statement and ExecuteFunction. |
org.reactivestreams.Publisher<? extends Result> filter(Statement statement, ExecuteFunction next)
Statement and ExecuteFunction.
The given ExecuteFunction represents the next entity in the chain, to be invoked via
ExecuteFunction.execute(Statement) invoked} in order to proceed with the exchange, or not invoked to
shortcut the chain.
default StatementFilterFunction andThen(StatementFilterFunction afterFilter)
"after"
filter.afterFilter - the filter to apply after this filter.Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.