public abstract class AbstractSimpleSelectExpressionStateObjectBuilder extends AbstractScalarExpressionStateObjectBuilder<ISimpleSelectExpressionStateObjectBuilder> implements ISimpleSelectExpressionStateObjectBuilder
ISimpleSelectExpressionStateObjectBuilder
that supports
the creation of the select expression based on the JPQL grammar defined in JPA 2.0.Modifier | Constructor and Description |
---|---|
protected |
AbstractSimpleSelectExpressionStateObjectBuilder(AbstractSelectClauseStateObject parent)
Creates a new
AbstractSimpleSelectExpressionStateObjectBuilder . |
Modifier and Type | Method and Description |
---|---|
protected AbstractSelectClauseStateObject |
getParent()
Returns the parent of the expression to build, which is only required when a JPQL fragment
needs to be parsed.
|
ISimpleSelectExpressionStateObjectBuilder |
variable(java.lang.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, 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
add, checkBuilder, checkBuilders, hasStateObjects, pop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commit
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
protected AbstractSimpleSelectExpressionStateObjectBuilder(AbstractSelectClauseStateObject parent)
AbstractSimpleSelectExpressionStateObjectBuilder
.parent
- The select clause for which this builder can create a select expressionprotected AbstractSelectClauseStateObject getParent()
getParent
in class AbstractScalarExpressionStateObjectBuilder<ISimpleSelectExpressionStateObjectBuilder>
public ISimpleSelectExpressionStateObjectBuilder variable(java.lang.String variable)
variable
in interface ISimpleSelectExpressionStateObjectBuilder
variable
- The identification variablebuilder