Class CompoundPredicates
java.lang.Object
io.github.torand.fastersql.predicate.compound.CompoundPredicates
Provides factory methods for compound predicates.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AndCreates a compound predicate using the boolean operator AND on specified predicate operands.static NotCreates a compound predicate using the boolean negation operator on specified predicate operand.static OrCreates 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.
-