|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BooleanFactory
A factory for creating various BooleanExpressions. This factory is obtainable from SQLVendor.
SQLVendor| Method Detail |
|---|
EqualsPredicate eq(NonBooleanExpression left,
NonBooleanExpression right)
EqualsPredicate.
left - The left-side expression.right - The right-side expression.
EqualsPredicate.
NotEqualsPredicate neq(NonBooleanExpression left,
NonBooleanExpression right)
NotEqualsPredicate.
left - The left-side expression.right - The right-side expression.
NotEqualsPredicate.
LessThanPredicate lt(NonBooleanExpression left,
NonBooleanExpression right)
LessThanPredicate.
left - The left-side expression.right - The right-side expression.
LessThanPredicate.
LessOrEqualPredicate leq(NonBooleanExpression left,
NonBooleanExpression right)
LessOrEqualPredicate.
left - The left-side expression.right - The right-side expression.
LessOrEqualPredicate.
GreaterThanPredicate gt(NonBooleanExpression left,
NonBooleanExpression right)
GreaterThanPredicate.
left - The left-side expression.right - The right-side expression.
GreaterThanPredicate.
GreaterOrEqualPredicate geq(NonBooleanExpression left,
NonBooleanExpression right)
GreaterOrEqualPredicate.
left - The left-side expression.right - The right-side expression.
GreaterOrEqualPredicate.IsNullPredicate isNull(NonBooleanExpression what)
IsNullPredicate.
what - The expression for the predicate.
IsNullPredicate.IsNotNullPredicate isNotNull(NonBooleanExpression what)
IsNotNullPredicate.
what - The expression for the predicate.
IsNotNullPredicate.Negation not(BooleanExpression what)
Negation.
what - The expression to be negated.
Negation.
Conjunction and(BooleanExpression left,
BooleanExpression right)
Conjunction.
left - The left-side expression.right - The right-side expression.
Conjunction.
Disjunction or(BooleanExpression left,
BooleanExpression right)
Disjunction.
left - The left-side expression.right - The right-side expression.
Disjunction.
BetweenPredicate between(NonBooleanExpression left,
NonBooleanExpression minimum,
NonBooleanExpression maximum)
BetweenPredicate.
left - What to be between.minimum - The minimum value.maximum - The maximum value.
BetweenPredicate.
NotBetweenPredicate notBetween(NonBooleanExpression left,
NonBooleanExpression minimum,
NonBooleanExpression maximum)
NotBetweenPredicate.
left - What not to be between.minimum - The minimum valuemaximum - The maximum value.
NotBetweenPredicate.
InPredicate in(NonBooleanExpression what,
NonBooleanExpression... values)
InPredicate.
what - What to be in accepted values.values - The accepted values.
InPredicate.InBuilder inBuilder(NonBooleanExpression what)
InPredicate.
what - What to be in accepted values.
InPredicate.
NotInPredicate notIn(NonBooleanExpression what,
NonBooleanExpression... values)
NotInPredicate.
what - What not to be in values.values - The values.
NotInPredicate.
LikePredicate like(NonBooleanExpression what,
NonBooleanExpression pattern)
LikePredicate.
what - What to be like something.pattern - The pattern to match.
LikePredicate
NotLikePredicate notLike(NonBooleanExpression what,
NonBooleanExpression pattern)
NotLikePredicate.
what - What not to be like something.pattern - The pattern.
NotLikePredicate.
RegexpPredicate regexp(NonBooleanExpression what,
NonBooleanExpression pattern)
RegexpPredicate.
what - What to match.pattern - The pattern to match.
NotRegexpPredicate.
NotRegexpPredicate notRegexp(NonBooleanExpression what,
NonBooleanExpression pattern)
NotRegexpPredicate.
what - What would be not matching the pattern.pattern - The pattern to use.
NotRegexpPredicate.ExistsPredicate exists(QueryExpression query)
ExistsPredicate.
query - A query to use.
ExistsPredicate.UniquePredicate unique(QueryExpression query)
UniquePredicate.
query - A query to use.
UniquePredicate.
BooleanTest test(BooleanExpression expression,
BooleanTest.TestType testType,
BooleanTest.TruthValue truthValue)
BooleanTest.
expression - The expresssion to test.testType - The test type to use.truthValue - The truth value to use.
BooleanTest.BooleanBuilder booleanBuilder()
BooleanBuilder with Predicate.EmptyPredicate as initial value.
BooleanBuilder.BooleanBuilder booleanBuilder(BooleanExpression first)
BooleanBuilder with given boolean expression as initial value.
first - The initial value for boolean expression.
BooleanBuilder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||