|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.model.AbstractStateObjectBuilder org.eclipse.persistence.jpa.jpql.model.AbstractScalarExpressionStateObjectBuilder<T> org.eclipse.persistence.jpa.jpql.model.AbstractConditionalExpressionStateObjectBuilder<T>
public abstract class AbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
The abstract implementation of IConditionalExpressionStateObjectBuilder
that supports the
creation of the conditional expression based on the JPQL grammar defined in JPA 2.0.
Constructor Summary | |
---|---|
AbstractConditionalExpressionStateObjectBuilder(StateObject parent)
Creates a new AbstractStateObjectBuilder . |
Method Summary | |
---|---|
T |
all(SimpleSelectStatementStateObject subquery)
Creates the expression ALL(subquery) . |
protected void |
allOrAny(java.lang.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(java.lang.String path)
Creates a new collection-valued path expression. |
protected void |
comparison(java.lang.String identifier)
|
protected void |
comparison(java.lang.String identifier,
StateObject rightStateObject)
|
T |
different(java.lang.Number number)
|
T |
different(java.lang.String literal)
|
T |
different(T builder)
|
T |
equal(java.lang.Number number)
|
T |
equal(java.lang.String literal)
|
T |
equal(T builder)
|
protected void |
exists(boolean not,
SimpleSelectStatementStateObject subquery)
|
T |
exists(SimpleSelectStatementStateObject subquery)
|
T |
FALSE()
|
T |
greaterThan(java.lang.Number number)
|
T |
greaterThan(java.lang.String literal)
|
T |
greaterThan(T builder)
|
T |
greaterThanOrEqual(java.lang.Number number)
|
T |
greaterThanOrEqual(java.lang.String literal)
|
T |
greaterThanOrEqual(T builder)
|
protected void |
in(boolean not,
java.util.List<StateObject> inItems)
|
protected void |
in(boolean not,
java.lang.String... inItems)
|
protected void |
in(boolean not,
T... inItems)
|
T |
in(SimpleSelectStatementStateObject subquery)
|
T |
in(java.lang.String... inItems)
|
T |
in(T... inItems)
|
protected void |
isEmpty(boolean not,
java.lang.String path)
|
T |
isEmpty(java.lang.String path)
|
T |
isNotEmpty(java.lang.String path)
|
T |
isNotNull(java.lang.String path)
|
protected void |
isNull(boolean not,
java.lang.String path)
|
T |
isNull(java.lang.String path)
|
protected void |
keyword(java.lang.String identifier)
|
protected void |
like(boolean not,
java.lang.String escapeCharacter)
|
T |
like(java.lang.String patternValue)
|
T |
like(T patternValue)
|
T |
like(T patternValue,
java.lang.String escapeCharacter)
|
T |
lower(T builder)
|
T |
lowerThan(java.lang.Number number)
|
T |
lowerThan(java.lang.String literal)
|
T |
lowerThan(T builder)
|
T |
lowerThanOrEqual(java.lang.Number number)
|
T |
lowerThanOrEqual(java.lang.String literal)
|
T |
lowerThanOrEqual(T builder)
|
protected void |
member(boolean not,
boolean of,
java.lang.String collectionValuedPathExpression)
|
T |
member(java.lang.String path)
|
T |
memberOf(java.lang.String path)
|
T |
notBetween(T lowerBoundExpression,
T upperBoundExpression)
|
T |
notExists(SimpleSelectStatementStateObject subquery)
|
T |
notIn(SimpleSelectStatementStateObject subquery)
|
T |
notIn(java.lang.String... inItems)
|
T |
notIn(T... inItems)
|
T |
notLike(java.lang.String patternValue)
|
T |
notLike(T builder)
|
T |
notLike(T builder,
java.lang.String escapeCharacter)
|
T |
notMember(java.lang.String path)
|
T |
notMemberOf(java.lang.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,
java.lang.String trimCharacter,
T builder)
|
T |
trim(TrimExpression.Specification specification,
T builder)
|
T |
TRUE()
|
T |
upper(T builder)
|
T |
variable(java.lang.String variable)
Creates the expression representing an identification variable. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.AbstractScalarExpressionStateObjectBuilder |
---|
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, type |
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.AbstractStateObjectBuilder |
---|
add, checkBuilder, checkBuilders, hasStateObjects, pop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.jpa.jpql.model.IScalarExpressionStateObjectBuilder |
---|
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 |
Constructor Detail |
---|
public AbstractConditionalExpressionStateObjectBuilder(StateObject parent)
AbstractStateObjectBuilder
.
parent
- The parent of the expression to build, which is only required when a JPQL
fragment needs to be parsedMethod Detail |
---|
public T all(SimpleSelectStatementStateObject subquery)
ALL(subquery)
.
all
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
subquery
- The already constructed subquery
protected void allOrAny(java.lang.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 expression
public T any(SimpleSelectStatementStateObject subquery)
ANY(subquery)
.
any
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
subquery
- The already constructed subquery
protected 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 expression
public T collectionPath(java.lang.String path)
collectionPath
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
path
- The collection-valued path expression
protected void comparison(java.lang.String identifier)
protected void comparison(java.lang.String identifier, StateObject rightStateObject)
public T different(java.lang.Number number)
different
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T different(java.lang.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(java.lang.Number number)
equal
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T equal(java.lang.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(java.lang.Number number)
greaterThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThan(java.lang.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(java.lang.Number number)
greaterThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T greaterThanOrEqual(java.lang.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, java.util.List<StateObject> inItems)
protected void in(boolean not, java.lang.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(java.lang.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, java.lang.String path)
public T isEmpty(java.lang.String path)
isEmpty
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T isNotEmpty(java.lang.String path)
isNotEmpty
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T isNotNull(java.lang.String path)
isNotNull
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
protected void isNull(boolean not, java.lang.String path)
public T isNull(java.lang.String path)
isNull
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
protected void keyword(java.lang.String identifier)
protected void like(boolean not, java.lang.String escapeCharacter)
public T like(java.lang.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, java.lang.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(java.lang.Number number)
lowerThan
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThan(java.lang.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(java.lang.Number number)
lowerThanOrEqual
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T lowerThanOrEqual(java.lang.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, java.lang.String collectionValuedPathExpression)
public T member(java.lang.String path)
member
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T memberOf(java.lang.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(java.lang.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(java.lang.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, java.lang.String escapeCharacter)
notLike
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notMember(java.lang.String path)
notMember
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
public T notMemberOf(java.lang.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, java.lang.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(java.lang.String variable)
variable
in interface IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
variable
- The identification variable
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |