Package com.landawn.abacus.jdbc
Interface Jdbc.BiRowFilter
- All Superinterfaces:
com.landawn.abacus.util.Throwables.BiPredicate<ResultSet,
List<String>, SQLException>
- Enclosing class:
- Jdbc
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Jdbc.BiRowFilter
extends com.landawn.abacus.util.Throwables.BiPredicate<ResultSet,List<String>,SQLException>
Generally, the result should be filtered in database side by SQL scripts.
Only user
RowFilter/BiRowFilter
if there is a specific reason or the filter can't be done by SQL scripts in database server side.-
Field Summary
Modifier and TypeFieldDescriptionstatic final Jdbc.BiRowFilter
The Constant ALWAYS_FALSE.static final Jdbc.BiRowFilter
The Constant ALWAYS_TRUE. -
Method Summary
Modifier and TypeMethodDescriptiondefault Jdbc.BiRowFilter
and
(com.landawn.abacus.util.Throwables.BiPredicate<? super ResultSet, ? super List<String>, SQLException> other) static Jdbc.BiRowFilter
from
(Jdbc.RowFilter rowFilter) default Jdbc.BiRowFilter
negate()
boolean
Methods inherited from interface com.landawn.abacus.util.Throwables.BiPredicate
unchecked
-
Field Details
-
ALWAYS_TRUE
The Constant ALWAYS_TRUE. -
ALWAYS_FALSE
The Constant ALWAYS_FALSE.
-
-
Method Details
-
test
- Specified by:
test
in interfacecom.landawn.abacus.util.Throwables.BiPredicate<ResultSet,
List<String>, SQLException> - Parameters:
rs
-columnLabels
-- Returns:
- Throws:
SQLException
-
negate
- Returns:
-
and
default Jdbc.BiRowFilter and(com.landawn.abacus.util.Throwables.BiPredicate<? super ResultSet, ? super List<String>, SQLException> other) - Parameters:
other
-- Returns:
-
from
- Parameters:
rowFilter
-- Returns:
-