Module org.eclipse.persistence.jpa
Class ExpressionImpl<X>
java.lang.Object
org.eclipse.persistence.internal.jpa.querydef.SelectionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl<X>
- All Implemented Interfaces:
- Expression<X>,- Selection<X>,- TupleElement<X>,- Serializable,- InternalExpression,- InternalSelection
- Direct Known Subclasses:
- FunctionExpressionImpl,- ParameterExpressionImpl,- PathImpl
public class ExpressionImpl<X>
extends SelectionImpl<X>
implements Expression<X>, InternalExpression
Purpose: Represents an Expression in the Criteria API heirarchy.
Description: Expressions are expression nodes that can not be joined from and may or not be the result of a Path expression.
- Since:
- EclipseLink 1.2
- See Also:
- 
Field SummaryFieldsFields inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImplalias, currentNode, javaType
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedExpressionImpl(Metamodel metamodel, Class<X> javaType, Expression expressionNode) ExpressionImpl(Metamodel metamodel, Class<X> javaType, Expression expressionNode, Object value) 
- 
Method SummaryModifier and TypeMethodDescription<T> Expression<T> protected <T> Expression<T> buildExpressionForAs(Class<T> type) voidfindRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery) in(Expression<?>... values) Apply a predicate to test whether the expression is a member of the argument list.in(Expression<Collection<?>> values) Apply a predicate to test whether the expression is a member of the collection.in(Collection<?> values) Apply a predicate to test whether the expression is a member of the collection.booleanbooleanbooleanbooleanisNull()booleanbooleanbooleanMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImplalias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot, setJavaTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.persistence.criteria.Selectionalias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.TupleElementgetAlias, getJavaType
- 
Field Details- 
metamodel
- 
isLiteralprotected boolean isLiteral
- 
literal
 
- 
- 
Constructor Details- 
ExpressionImpl
- 
ExpressionImplpublic ExpressionImpl(Metamodel metamodel, Class<X> javaType, Expression expressionNode, Object value) 
 
- 
- 
Method Details- 
as- Specified by:
- asin interface- Expression<X>
 
- 
buildExpressionForAs
- 
in- Specified by:
- inin interface- Expression<X>
 
- 
inApply a predicate to test whether the expression is a member of the argument list.- Specified by:
- inin interface- Expression<X>
- Returns:
- predicate testing for membership
 
- 
inApply a predicate to test whether the expression is a member of the collection.- Specified by:
- inin interface- Expression<X>
- Parameters:
- values- collection
- Returns:
- predicate testing for membership
 
- 
inApply a predicate to test whether the expression is a member of the collection.- Specified by:
- inin interface- Expression<X>
- Parameters:
- values- expression corresponding to collection
- Returns:
- predicate testing for membership
 
- 
isNotNull- Specified by:
- isNotNullin interface- Expression<X>
 
- 
isNull- Specified by:
- isNullin interface- Expression<X>
 
- 
isPredicatepublic boolean isPredicate()- Specified by:
- isPredicatein interface- InternalExpression
 
- 
isSubquerypublic boolean isSubquery()- Specified by:
- isSubqueryin interface- InternalExpression
 
- 
isCompoundExpressionpublic boolean isCompoundExpression()- Specified by:
- isCompoundExpressionin interface- InternalExpression
 
- 
isExpressionpublic boolean isExpression()- Specified by:
- isExpressionin interface- InternalExpression
 
- 
isJunctionpublic boolean isJunction()- Specified by:
- isJunctionin interface- InternalExpression
 
- 
isLiteralpublic boolean isLiteral()- Specified by:
- isLiteralin interface- InternalExpression
 
- 
isParameterpublic boolean isParameter()- Specified by:
- isParameterin interface- InternalExpression
 
- 
findRootAndParameters- Specified by:
- findRootAndParametersin interface- InternalSelection
 
 
-