public abstract class AbstractCaseExpressionStateObjectBuilder extends AbstractConditionalExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder> implements ICaseExpressionStateObjectBuilder
ICaseExpressionStateObjectBuilder adds support for
creating a CASE expression.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCaseExpressionStateObjectBuilder(StateObject parent)
Creates a new
AbstractCaseExpressionStateObjectBuilder. |
| Modifier and Type | Method and Description |
|---|---|
CaseExpressionStateObject |
buildStateObject()
Creates the actual state object based on the information this builder gathered.
|
ICaseExpressionStateObjectBuilder |
when(ICaseExpressionStateObjectBuilder when,
ICaseExpressionStateObjectBuilder then)
Creates a single
WHEN expression. |
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, 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, notLike, notLike, notLike, notMember, notMemberOf, NULL, or, some, sub, substring, trim, trim, TRUE, upper, variableabs, 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, waitall, and, any, between, collectionPath, different, different, different, equal, equal, equal, exists, FALSE, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, in, in, in, isEmpty, isNotEmpty, isNotNull, isNull, like, like, like, lower, lowerThan, lowerThan, lowerThan, lowerThanOrEqual, lowerThanOrEqual, lowerThanOrEqual, member, memberOf, notBetween, notExists, notIn, notIn, notIn, notLike, notLike, notLike, notMember, notMemberOf, NULL, or, some, sub, substring, trim, trim, TRUE, upper, variableabs, 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, typeprotected AbstractCaseExpressionStateObjectBuilder(StateObject parent)
AbstractCaseExpressionStateObjectBuilder.parent - The parent of the CASE expression to build, which is only
required when a JPQL fragment needs to be parsedpublic CaseExpressionStateObject buildStateObject()
buildStateObject in interface ICaseExpressionStateObjectBuilderCaseExpressionStateObjectpublic ICaseExpressionStateObjectBuilder when(ICaseExpressionStateObjectBuilder when, ICaseExpressionStateObjectBuilder then)
WHEN expression.when in interface ICaseExpressionStateObjectBuilderwhen - The WHEN expressionthen - The THEN expressionbuilder