Class DefaultConditionalExpressionStateObjectBuilder
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.model.AbstractStateObjectBuilder
org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
org.eclipse.persistence.jpa.jpql.tools.model.AbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
org.eclipse.persistence.jpa.jpql.tools.model.DefaultConditionalExpressionStateObjectBuilder
- All Implemented Interfaces:
IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>,IConditionalExpressionStateObjectBuilder,IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
public class DefaultConditionalExpressionStateObjectBuilder
extends AbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
implements IConditionalExpressionStateObjectBuilder
The default implementation of
IConditionalExpressionStateObjectBuilder.- Since:
- 2.4
- Version:
- 2.4
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newDefaultConditionalExpressionStateObjectBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit()Pushes the changes created by this builder to the state object.protected AbstractConditionalClauseStateObjectReturns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractConditionalExpressionStateObjectBuilder
all, allOrAny, and, any, between, between, collectionPath, comparison, comparison, different, different, different, equal, equal, equal, exists, exists, FALSE, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, in, in, in, in, in, in, in, isEmpty, isEmpty, isNotEmpty, isNotNull, isNull, isNull, keyword, like, like, like, like, lower, lowerThan, lowerThan, lowerThan, lowerThanOrEqual, lowerThanOrEqual, lowerThanOrEqual, member, member, memberOf, notBetween, notExists, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notMember, notMemberOf, NULL, or, some, sub, substring, trim, trim, TRUE, upper, variableMethods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder
abs, add, arithmetic, avg, avg, avgDistinct, buildCollectionPath, buildIdentificationVariable, buildInputParameter, buildNumeric, buildNumeric, buildStateFieldPath, buildStringLiteral, case_, coalesce, coalesce, concat, concat, count, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, function, function, getCaseBuilder, 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, typeMethods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractStateObjectBuilder
add, checkBuilder, checkBuilders, hasStateObjects, popMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder
all, and, any, between, collectionPath, different, different, different, equal, equal, equal, exists, FALSE, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, in, in, in, in, isEmpty, isNotEmpty, isNotNull, isNull, like, like, like, lower, lowerThan, lowerThan, lowerThan, lowerThanOrEqual, lowerThanOrEqual, lowerThanOrEqual, member, memberOf, notBetween, notExists, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notMember, notMemberOf, NULL, or, some, sub, substring, trim, trim, TRUE, upper, variableMethods inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.IScalarExpressionStateObjectBuilder
abs, add, avg, avgDistinct, case_, coalesce, coalesce, concat, concat, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, 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 Details
-
DefaultConditionalExpressionStateObjectBuilder
Creates a newDefaultConditionalExpressionStateObjectBuilder.- Parameters:
parent- The conditional clause for which this builder can create a conditional expression
-
-
Method Details
-
commit
public void commit()Description copied from interface:IConditionalExpressionStateObjectBuilderPushes the changes created by this builder to the state object.- Specified by:
commitin interfaceIConditionalExpressionStateObjectBuilder
-
getParent
Description copied from class:AbstractScalarExpressionStateObjectBuilderReturns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.- Overrides:
getParentin classAbstractScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>- Returns:
- The parent
-