Interface PredicateOperand
- All Known Subinterfaces:
Aggregate, DomainObject, Expression, PathExpression, QueryDefinition, Subquery
- All Known Implementing Classes:
AbsExpression, AbstractDomainObject, ArrayExpression, AverageExpression, BinaryOperatorExpression, ConcatExpression, CountExpression, CurrentTimeExpression, DistinctExpression, DividedByExpression, ElseExpression, EntryExpression, FetchPath, IndexExpression, JoinPath, KeyExpression, LengthExpression, LiteralExpression, LocateExpression, LowerExpression, MaxExpression, MinExpression, MinusExpression, OperatorPath, ParameterExpression, PlusExpression, QueryDefinitionImpl, RangeExpression, RootPath, SizeExpression, SquareRootExpression, SubStringExpression, SumExpression, TimesExpression, TrimExpression, TypeExpression, UnaryMinusExpression, UpperExpression, ValueExpression, VarArgsExpression
public interface PredicateOperand
Interface for constructing where-clause and having-clause conditions.
Instances of PredicateOperand are used in constructing predicates passed to
the where or having methods.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(Number arg1, PredicateOperand arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(String arg1, PredicateOperand arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(Calendar arg1, PredicateOperand arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(Date arg1, PredicateOperand arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(PredicateOperand arg1, Number arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(PredicateOperand arg1, String arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(PredicateOperand arg1, Calendar arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(PredicateOperand arg1, Date arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.between(PredicateOperand arg1, PredicateOperand arg2) Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.equal(boolean arg) Create a predicate for testing equality with the specified argument.Create a predicate for testing equality with the specified argument.Create a predicate for testing equality with the specified argument.Create a predicate for testing equality with the specified argument.Create a predicate for testing equality with the specified argument.Create a predicate for testing equality with the specified argument.Create a predicate for testing equality with the specified argument.equal(PredicateOperand arg) Create a predicate for testing equality with the specified argument.greaterEqual(Number arg) Create a predicate for testing whether the PredicateOperand is greater than or equal to the argument.greaterEqual(String arg) Create a predicate for testing whether the PredicateOperand is greater than or equal to the argument.greaterEqual(Calendar arg) Create a predicate for testing whether the PredicateOperand is greater than or equal to the argument.greaterEqual(Date arg) Create a predicate for testing whether the PredicateOperand is greater than or equal to the argument.Create a predicate for testing whether the PredicateOperand is greater than or equal to the argument.greaterThan(Number arg) Create a predicate for testing whether the PredicateOperand is greater than the argument.greaterThan(String arg) Create a predicate for testing whether the PredicateOperand is greater than the argument.greaterThan(Calendar arg) Create a predicate for testing whether the PredicateOperand is greater than the argument.greaterThan(Date arg) Create a predicate for testing whether the PredicateOperand is greater than the argument.Create a predicate for testing whether the PredicateOperand is greater than the argument.Create a predicate for testing whether the PredicateOperand is less than or equal to the argument.Create a predicate for testing whether the PredicateOperand is less than or equal to the argument.Create a predicate for testing whether the PredicateOperand is less than or equal to the argument.Create a predicate for testing whether the PredicateOperand is less than or equal to the argument.Create a predicate for testing whether the PredicateOperand is less than or equal to the argument.Create a predicate for testing whether the PredicateOperand is less than the argument.Create a predicate for testing whether the PredicateOperand is less than the argument.Create a predicate for testing whether the PredicateOperand is less than the argument.Create a predicate for testing whether the PredicateOperand is less than the argument.lessThan(PredicateOperand arg) Create a predicate for testing whether the PredicateOperand is less than the argument.Create a predicate for testing whether the PredicateOperand satisfies the given pattern.Create a predicate for testing whether the PredicateOperand satisfies the given pattern.like(String pattern, PredicateOperand escapeChar) Create a predicate for testing whether the PredicateOperand satisfies the given pattern.like(PredicateOperand pattern) Create a predicate for testing whether the PredicateOperand satisfies the given pattern.like(PredicateOperand pattern, char escapeChar) Create a predicate for testing whether the PredicateOperand satisfies the given pattern.like(PredicateOperand pattern, PredicateOperand escapeChar) Create a predicate for testing whether the PredicateOperand satisfies the given pattern.notEqual(boolean arg) Create a predicate for testing inequality with the specified argument.Create a predicate for testing inequality with the specified argument.Create a predicate for testing inequality with the specified argument.Create a predicate for testing inequality with the specified argument.Create a predicate for testing inequality with the specified argument.Create a predicate for testing inequality with the specified argument.Create a predicate for testing inequality with the specified argument.notEqual(PredicateOperand arg) Create a predicate for testing inequality with the specified argument.
-
Method Details
-
equal
Create a predicate for testing equality with the specified argument.- Parameters:
arg- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
equal
-
equal
-
equal
-
equal
Create a predicate for testing equality with the specified argument.- Parameters:
arg- - boolean value- Returns:
- conditional predicate
-
equal
-
equal
-
equal
-
notEqual
Create a predicate for testing inequality with the specified argument.- Parameters:
arg- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
notEqual
-
notEqual
-
notEqual
-
notEqual
Create a predicate for testing inequality with the specified argument.- Parameters:
arg- - boolean value- Returns:
- conditional predicate
-
notEqual
-
notEqual
-
notEqual
-
greaterThan
Create a predicate for testing whether the PredicateOperand is greater than the argument.- Parameters:
arg- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
greaterThan
-
greaterThan
-
greaterThan
-
greaterThan
-
greaterEqual
Create a predicate for testing whether the PredicateOperand is greater than or equal to the argument.- Parameters:
arg- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
greaterEqual
-
greaterEqual
-
greaterEqual
-
greaterEqual
-
lessThan
Create a predicate for testing whether the PredicateOperand is less than the argument.- Parameters:
arg- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
lessThan
-
lessThan
-
lessThan
-
lessThan
-
lessEqual
Create a predicate for testing whether the PredicateOperand is less than or equal to the argument.- Parameters:
arg- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
lessEqual
-
lessEqual
-
lessEqual
-
lessEqual
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - PredicateOperand instance or parameterarg2- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - PredicateOperand instance or parameterarg2- - numeric- Returns:
- conditional predicate
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - numericarg2- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
between
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - PredicateOperand instance or parameterarg2- - string- Returns:
- conditional predicate
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - stringarg2- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
between
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - PredicateOperand instance or parameterarg2- - date- Returns:
- conditional predicate
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - datearg2- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
between
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - PredicateOperand instance or parameterarg2- - calendar- Returns:
- conditional predicate
-
between
Create a predicate for testing whether the PredicateOperand lies between (inclusive) the two arguments.- Parameters:
arg1- - calendararg2- - PredicateOperand instance or parameter- Returns:
- conditional predicate
-
between
-
like
Create a predicate for testing whether the PredicateOperand satisfies the given pattern.- Parameters:
pattern-- Returns:
- conditional predicate
-
like
Create a predicate for testing whether the PredicateOperand satisfies the given pattern.- Parameters:
pattern-escapeChar-- Returns:
- conditional predicate
-
like
Create a predicate for testing whether the PredicateOperand satisfies the given pattern.- Parameters:
pattern-escapeChar-- Returns:
- conditional predicate
-
like
-
like
Create a predicate for testing whether the PredicateOperand satisfies the given pattern.- Parameters:
pattern-escapeChar-- Returns:
- conditional predicate
-
like
-