Class CompoundPredicates
java.lang.Object
io.github.torand.fastersql.predicate.compound.CompoundPredicates
Provides factory methods for compound predicates.
-
Method Summary
Modifier and TypeMethodDescriptionstatic And
Creates a compound predicate using the boolean operator AND on specified predicate operands.static Not
Creates a compound predicate using the boolean negation operator on specified predicate operand.static Or
Creates a compound predicate using the boolean operator OR on specified predicate operands.
-
Method Details
-
and
Creates a compound predicate using the boolean operator AND on specified predicate operands.- Parameters:
operands
- the predicate operands.- Returns:
- the compound predicate.
-
or
Creates a compound predicate using the boolean operator OR on specified predicate operands.- Parameters:
operands
- the predicate operands.- Returns:
- the compound predicate.
-
not
Creates a compound predicate using the boolean negation operator on specified predicate operand.- Parameters:
operand
- the predicate operand.- Returns:
- the compound predicate.
-