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). |
protected void |
allOrAny(String identifier,
SimpleSelectStatementStateObject subquery) |
T |
and(T builder)
Creates the expression
x AND y. |
T |
any(SimpleSelectStatementStateObject subquery)
Creates the expression
ANY(subquery). |
protected void |
between(boolean not) |
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.
|
protected void |
comparison(String identifier) |
protected void |
comparison(String identifier,
StateObject rightStateObject) |
T |
different(Number number) |
T |
different(String literal) |
T |
different(T builder) |
T |
equal(Number number) |
T |
equal(String literal) |
T |
equal(T builder) |
protected void |
exists(boolean not,
SimpleSelectStatementStateObject subquery) |
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) |
protected void |
in(boolean not,
List<StateObject> inItems) |
protected void |
in(boolean not,
String... inItems) |
protected void |
in(boolean not,
T... inItems) |
T |
in(SimpleSelectStatementStateObject subquery) |
T |
in(String... inItems) |
T |
in(T... inItems) |
protected void |
isEmpty(boolean not,
String path) |
T |
isEmpty(String path) |
T |
isNotEmpty(String path) |
T |
isNotNull(String path) |
protected void |
isNull(boolean not,
String path) |
T |
isNull(String path) |
protected void |
keyword(String identifier) |
protected void |
like(boolean not,
String escapeCharacter) |
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) |
protected void |
member(boolean not,
boolean of,
String collectionValuedPathExpression) |
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, arithmetic, avg, avg, avgDistinct, buildCollectionPath, buildIdentificationVariable, buildInputParameter, buildNumeric, buildNumeric, buildStateFieldPath, buildStringLiteral, case_, coalesce, concat, count, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, function, getCaseBuilder, getParent, index, length, literal, literals, locate, locate, max, max, maxDistinct, min, min, minDistinct, minus, mod, multiply, nullIf, numeric, numeric, parameter, path, plus, size, sqrt, stateObjects, stateObjects, string, sub, subtract, sum, sum, sumDistinct, typeadd, checkBuilder, checkBuilders, hasStateObjects, popclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabs, 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, typepublic 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 subqueryprotected void allOrAny(String identifier, SimpleSelectStatementStateObject subquery)
public 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 subqueryprotected void between(boolean not)
public 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 expressionprotected void comparison(String identifier)
protected void comparison(String identifier, StateObject rightStateObject)
public 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>>protected void exists(boolean not,
SimpleSelectStatementStateObject subquery)
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>>protected void in(boolean not,
List<StateObject> inItems)
protected void in(boolean not,
String... inItems)
protected void in(boolean not,
T... inItems)
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>>protected void isEmpty(boolean not,
String path)
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>>protected void isNull(boolean not,
String path)
public T isNull(String path)
isNull in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>protected void keyword(String identifier)
protected void like(boolean not,
String escapeCharacter)
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>>protected void member(boolean not,
boolean of,
String collectionValuedPathExpression)
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 variableCopyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.