Class AbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.model.AbstractStateObjectBuilder
org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder<ISimpleSelectExpressionStateObjectBuilder>
org.eclipse.persistence.jpa.jpql.tools.model.AbstractSimpleSelectExpressionStateObjectBuilder
org.eclipse.persistence.jpa.jpql.tools.model.AbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder
- All Implemented Interfaces:
IEclipseLinkSimpleSelectExpressionStateObjectBuilder
,IScalarExpressionStateObjectBuilder<ISimpleSelectExpressionStateObjectBuilder>
,ISimpleSelectExpressionStateObjectBuilder
- Direct Known Subclasses:
EclipseLinkSimpleSelectExpressionStateObjectBuilder
public abstract class AbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder
extends AbstractSimpleSelectExpressionStateObjectBuilder
implements IEclipseLinkSimpleSelectExpressionStateObjectBuilder
- Since:
- 2.4
- Version:
- 2.4
-
Constructor Summary
ModifierConstructorDescriptionprotected
Creates a newAbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
Pushes the changes created by this builder to the state object.protected SimpleSelectClauseStateObject
Returns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.Creates the expression representing an identification variable.Methods 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, type
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.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.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
-
AbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder
protected AbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder(SimpleSelectClauseStateObject parent) Creates a newAbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder
.- Parameters:
parent
- The select clause for which this builder can create a select expression
-
-
Method Details
-
commit
public void commit()Description copied from interface:ISimpleSelectExpressionStateObjectBuilder
Pushes the changes created by this builder to the state object.- Specified by:
commit
in interfaceISimpleSelectExpressionStateObjectBuilder
-
getParent
Description copied from class:AbstractScalarExpressionStateObjectBuilder
Returns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.- Overrides:
getParent
in classAbstractSimpleSelectExpressionStateObjectBuilder
- Returns:
- The parent
-
variable
Description copied from interface:ISimpleSelectExpressionStateObjectBuilder
Creates the expression representing an identification variable.- Specified by:
variable
in interfaceISimpleSelectExpressionStateObjectBuilder
- Overrides:
variable
in classAbstractSimpleSelectExpressionStateObjectBuilder
- Parameters:
variable
- The identification variable- Returns:
- This
builder
-