Module org.eclipse.persistence.jpa
Class FunctionExpressionImpl<X>
java.lang.Object
org.eclipse.persistence.internal.jpa.querydef.SelectionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.FunctionExpressionImpl<X>
- All Implemented Interfaces:
Expression<X>,Selection<X>,TupleElement<X>,Serializable,InternalExpression,InternalSelection
- Direct Known Subclasses:
CompoundExpressionImpl,CriteriaBuilderImpl.CaseImpl,CriteriaBuilderImpl.CoalesceImpl,CriteriaBuilderImpl.SimpleCaseImpl
Purpose: Contains the implementation of the Predicate interface of the JPA criteria API.
Description: The predicate forms the least specific expression node. Predicates result in boolean expressions that are combined to form the final expression.
- Since:
- EclipseLink 1.2
- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
isLiteral, literal, metamodelFields inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, currentNode, javaType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFunctionExpressionImpl(Metamodel metamodel, Class<X> resultClass, Expression expressionNode, List<Expression<?>> compoundExpressions) FunctionExpressionImpl(Metamodel metamodel, Class<X> resultClass, Expression expressionNode, List<Expression<?>> compoundExpressions, String operator) -
Method Summary
Modifier and TypeMethodDescriptionvoidList<Expression<?>> Return the top-level conjuncts or disjuncts of the predicate.booleanbooleanMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
as, buildExpressionForAs, in, in, in, in, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubqueryMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot, setJavaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.TupleElement
getAlias, getJavaType
-
Field Details
-
operator
-
expressions
-
-
Constructor Details
-
FunctionExpressionImpl
protected FunctionExpressionImpl(Metamodel metamodel, Class<X> resultClass, Expression expressionNode, List<Expression<?>> compoundExpressions) -
FunctionExpressionImpl
public FunctionExpressionImpl(Metamodel metamodel, Class<X> resultClass, Expression expressionNode, List<Expression<?>> compoundExpressions, String operator)
-
-
Method Details
-
getChildExpressions
Return the top-level conjuncts or disjuncts of the predicate.- Returns:
- list boolean expressions forming the predicate
-
getOperation
- Returns:
- the operator
-
isCompoundExpression
public boolean isCompoundExpression()- Specified by:
isCompoundExpressionin interfaceInternalExpression- Overrides:
isCompoundExpressionin classExpressionImpl<X>
-
isExpression
public boolean isExpression()- Specified by:
isExpressionin interfaceInternalExpression- Overrides:
isExpressionin classExpressionImpl<X>
-
findRootAndParameters
- Specified by:
findRootAndParametersin interfaceInternalSelection- Overrides:
findRootAndParametersin classExpressionImpl<X>
-