1
1
/*
2
- * Copyright 2002-2020 the original author or authors.
2
+ * Copyright 2002-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
23
23
import org .springframework .util .Assert ;
24
24
25
25
/**
26
- * Represents a function that filters an {@link ExecuteFunction execute function }.
26
+ * Represents a function that filters an {@link ExecuteFunction}.
27
27
*
28
28
* <p>The filter is executed when a {@link org.reactivestreams.Subscriber} subscribes
29
29
* to the {@link Publisher} returned by the {@link DatabaseClient}.
@@ -47,18 +47,18 @@ public interface StatementFilterFunction {
47
47
48
48
/**
49
49
* Apply this filter to the given {@link Statement} and {@link ExecuteFunction}.
50
- * <p>The given {@link ExecuteFunction} represents the next entity in the chain,
51
- * to be invoked via {@link ExecuteFunction#execute(Statement)} in
52
- * order to proceed with the execution, or not invoked to shortcut the chain.
50
+ * <p>The given {@code ExecuteFunction} represents the next entity in the chain,
51
+ * to be invoked via {@link ExecuteFunction#execute(Statement)} in order to
52
+ * proceed with the execution, or not invoked to short-circuit the chain.
53
53
* @param statement the current {@link Statement}
54
- * @param next the next execute function in the chain
54
+ * @param next the next {@code ExecuteFunction} in the chain
55
55
* @return the filtered {@link Result}s.
56
56
*/
57
57
Publisher <? extends Result > filter (Statement statement , ExecuteFunction next );
58
58
59
59
/**
60
- * Return a composed filter function that first applies this filter, and then
61
- * applies the given {@code "after"} filter .
60
+ * Return a composed filter function that first applies this filter and then
61
+ * applies the given {@code afterFilter} .
62
62
* @param afterFilter the filter to apply after this filter
63
63
* @return the composed filter.
64
64
*/
0 commit comments