public abstract class AbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>> extends AbstractScalarExpressionStateObjectBuilder<T> implements IAbstractConditionalExpressionStateObjectBuilder<T>
IConditionalExpressionStateObjectBuilder
that supports the
creation of the conditional expression based on the JPQL grammar defined in JPA 2.0.Constructor and Description |
---|
AbstractConditionalExpressionStateObjectBuilder(StateObject parent)
Creates a new
AbstractStateObjectBuilder . |
Modifier and Type | Method and Description |
---|---|
T |
all(SimpleSelectStatementStateObject subquery)
Creates the expression
ALL(subquery) . |
T |
and(T builder)
Creates the expression
x AND y . |
T |
any(SimpleSelectStatementStateObject subquery)
Creates the expression
ANY(subquery) . |
T |
between(T lowerBoundExpression,
T upperBoundExpression)
Creates the expression
x BETWEEN y AND z . |
T |
collectionPath(String path)
Creates a new collection-valued path expression.
|
T |
different(Number number) |
T |
different(String literal) |
T |
different(T builder) |
T |
equal(Number number) |
T |
equal(String literal) |
T |
equal(T builder) |
T |
exists(SimpleSelectStatementStateObject subquery) |
T |
FALSE() |
T |
greaterThan(Number number) |
T |
greaterThan(String literal) |
T |
greaterThan(T builder) |
T |
greaterThanOrEqual(Number number) |
T |
greaterThanOrEqual(String literal) |
T |
greaterThanOrEqual(T builder) |
T |
in(SimpleSelectStatementStateObject subquery) |
T |
in(String... inItems) |
T |
in(T... inItems) |
T |
isEmpty(String path) |
T |
isNotEmpty(String path) |
T |
isNotNull(String path) |
T |
isNull(String path) |
T |
like(String patternValue) |
T |
like(T patternValue) |
T |
like(T patternValue,
String escapeCharacter) |
T |
lower(T builder) |
T |
lowerThan(Number number) |
T |
lowerThan(String literal) |
T |
lowerThan(T builder) |
T |
lowerThanOrEqual(Number number) |
T |
lowerThanOrEqual(String literal) |
T |
lowerThanOrEqual(T builder) |
T |
member(String path) |
T |
memberOf(String path) |
T |
notBetween(T lowerBoundExpression,
T upperBoundExpression) |
T |
notExists(SimpleSelectStatementStateObject subquery) |
T |
notIn(SimpleSelectStatementStateObject subquery) |
T |
notIn(String... inItems) |
T |
notIn(T... inItems) |
T |
notLike(String patternValue) |
T |
notLike(T builder) |
T |
notLike(T builder,
String escapeCharacter) |
T |
notMember(String path) |
T |
notMemberOf(String path) |
T |
NULL() |
T |
or(T builder) |
T |
some(SimpleSelectStatementStateObject subquery) |
T |
sub(StateObject stateObject) |
T |
substring(T parameter1,
T parameter2,
T parameter3) |
T |
trim(TrimExpression.Specification specification,
String trimCharacter,
T builder) |
T |
trim(TrimExpression.Specification specification,
T builder) |
T |
TRUE() |
T |
upper(T builder) |
T |
variable(String variable)
Creates the expression representing an identification variable.
|
abs, add, avg, avgDistinct, case_, coalesce, concat, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, function, getCaseBuilder, index, length, locate, locate, max, maxDistinct, min, minDistinct, minus, mod, multiply, nullIf, numeric, numeric, parameter, path, plus, size, sqrt, string, sub, subtract, sum, sumDistinct, type
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abs, add, avg, avgDistinct, case_, coalesce, concat, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, function, getCaseBuilder, index, length, locate, locate, max, maxDistinct, min, minDistinct, minus, mod, multiply, nullIf, numeric, numeric, parameter, path, plus, size, sqrt, string, sub, subtract, sum, sumDistinct, type
public AbstractConditionalExpressionStateObjectBuilder(StateObject parent)
AbstractStateObjectBuilder
.parent
- The parent of the expression to build, which is only required when a JPQL
fragment needs to be parsedpublic T all(SimpleSelectStatementStateObject subquery)
ALL(subquery)
.all
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
subquery
- The already constructed subquerypublic T and(T builder)
x AND y
.and
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
builder
- The right side of the logical expressionpublic T any(SimpleSelectStatementStateObject subquery)
ANY(subquery)
.any
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
subquery
- The already constructed subquerypublic T between(T lowerBoundExpression, T upperBoundExpression)
x BETWEEN y AND z
.between
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
lowerBoundExpression
- The lower bound expressionupperBoundExpression
- The upper bound expressionpublic T collectionPath(String path)
collectionPath
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
path
- The collection-valued path expressionpublic T different(Number number)
different
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T different(String literal)
different
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T different(T builder)
different
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T equal(Number number)
equal
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T equal(String literal)
equal
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T equal(T builder)
equal
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T exists(SimpleSelectStatementStateObject subquery)
exists
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T FALSE()
FALSE
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThan(Number number)
greaterThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThan(String literal)
greaterThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThan(T builder)
greaterThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThanOrEqual(Number number)
greaterThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThanOrEqual(String literal)
greaterThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThanOrEqual(T builder)
greaterThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T in(SimpleSelectStatementStateObject subquery)
in
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T in(String... inItems)
in
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T in(T... inItems)
in
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T isEmpty(String path)
isEmpty
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T isNotEmpty(String path)
isNotEmpty
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T isNotNull(String path)
isNotNull
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T isNull(String path)
isNull
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T like(String patternValue)
like
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T like(T patternValue)
like
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T like(T patternValue, String escapeCharacter)
like
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lower(T builder)
lower
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThan(Number number)
lowerThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThan(String literal)
lowerThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThan(T builder)
lowerThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThanOrEqual(Number number)
lowerThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThanOrEqual(String literal)
lowerThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThanOrEqual(T builder)
lowerThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T member(String path)
member
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T memberOf(String path)
memberOf
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notBetween(T lowerBoundExpression, T upperBoundExpression)
notBetween
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notExists(SimpleSelectStatementStateObject subquery)
notExists
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notIn(SimpleSelectStatementStateObject subquery)
notIn
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notIn(String... inItems)
notIn
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notIn(T... inItems)
notIn
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notLike(String patternValue)
notLike
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notLike(T builder)
notLike
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notLike(T builder, String escapeCharacter)
notLike
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notMember(String path)
notMember
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notMemberOf(String path)
notMemberOf
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T NULL()
NULL
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T or(T builder)
or
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T some(SimpleSelectStatementStateObject subquery)
some
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T sub(StateObject stateObject)
sub
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T substring(T parameter1, T parameter2, T parameter3)
substring
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T trim(TrimExpression.Specification specification, String trimCharacter, T builder)
trim
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T trim(TrimExpression.Specification specification, T builder)
trim
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T TRUE()
TRUE
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T upper(T builder)
upper
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T variable(String variable)
variable
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
variable
- The identification variableEclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference