Uses of Class
io.github.torand.fastersql.predicate.OptionalPredicate
Packages that use OptionalPredicate
Package
Description
Provides classes and interfaces related to predicates.
Provides classes and interfaces related to statements.
-
Uses of OptionalPredicate in io.github.torand.fastersql.predicate
Methods in io.github.torand.fastersql.predicate that return OptionalPredicateModifier and TypeMethodDescriptionOptionalPredicate.and
(OptionalPredicate other) Creates an optional compound predicate of performing the boolean operator AND on this optional predicate and the specified optional predicate.Creates an optional compound predicate of performing the boolean operator AND on this optional predicate and the specified predicate.default OptionalPredicate
Predicate.and
(OptionalPredicate optionalOther) Creates an optional compound predicate using the boolean operator AND on this predicate and the specified optional predicate.static OptionalPredicate
OptionalPredicate.empty()
Creates an optional predicate with no wrapped predicate.default OptionalPredicate
Creates an optional equivalence predicate from this left operand and the specified optional value.default OptionalPredicate
Creates an optional 'greater than or equal' predicate from this left operand and the specified optional value.default OptionalPredicate
Creates an optional 'greater than' predicate from this left operand and the specified optional value.default OptionalPredicate
LeftOperand.in
(Optional<? extends Collection<?>> values) Creates an optional 'member of set' predicate from this left operand and the specified optional collection of constant values.default OptionalPredicate
Creates an optional 'less than or equal' predicate from this left operand and the specified optional value.default OptionalPredicate
Creates an optional pattern matching predicate from this left operand and the specified optional string pattern.default OptionalPredicate
Creates an optional 'less than' predicate from this left operand and the specified optional value.static OptionalPredicate
Creates an optional predicate wrapping specified non-null predicate.static OptionalPredicate
OptionalPredicate.ofNullable
(Predicate predicate) Creates an optional predicate wrapping specified null or non-null predicate.OptionalPredicate.or
(OptionalPredicate other) Creates an optional compound predicate of performing the boolean operator OR on this optional predicate and the specified optional predicate.Creates an optional compound predicate of performing the boolean operator OR on this optional predicate and the specified predicate.default OptionalPredicate
Predicate.or
(OptionalPredicate optionalOther) Creates an optional compound predicate using the boolean operator OR on this predicate and the specified optional predicate.Methods in io.github.torand.fastersql.predicate with parameters of type OptionalPredicateModifier and TypeMethodDescriptionOptionalPredicate.and
(OptionalPredicate other) Creates an optional compound predicate of performing the boolean operator AND on this optional predicate and the specified optional predicate.default OptionalPredicate
Predicate.and
(OptionalPredicate optionalOther) Creates an optional compound predicate using the boolean operator AND on this predicate and the specified optional predicate.OptionalPredicate.or
(OptionalPredicate other) Creates an optional compound predicate of performing the boolean operator OR on this optional predicate and the specified optional predicate.default OptionalPredicate
Predicate.or
(OptionalPredicate optionalOther) Creates an optional compound predicate using the boolean operator OR on this predicate and the specified optional predicate.static Collection
<Predicate> OptionalPredicate.unwrap
(OptionalPredicate... optionalPredicates) Gets a list of present wrapped predicates from the specified array of optional predicates. -
Uses of OptionalPredicate in io.github.torand.fastersql.statement
Methods in io.github.torand.fastersql.statement with parameters of type OptionalPredicateModifier and TypeMethodDescriptionfinal SelectStatement
SelectStatement.having
(OptionalPredicate... maybePredicates) Adds optional predicates to the HAVING clause if the wrapped predicates are present.final DeleteStatement
DeleteStatement.where
(OptionalPredicate... maybePredicates) Adds optional predicates to the WHERE clause if the wrapped predicates are present.final SelectStatement
SelectStatement.where
(OptionalPredicate... maybePredicates) Adds optional predicates to the WHERE clause if the wrapped predicates are present.final UpdateStatement
UpdateStatement.where
(OptionalPredicate... maybePredicates) Adds optional predicates to the WHERE clause if the wrapped predicates are present.