Class TreatPathImpl
- java.lang.Object
-
- org.datanucleus.api.jakarta.criteria.ExpressionImpl<X>
-
- org.datanucleus.api.jakarta.criteria.PathImpl
-
- org.datanucleus.api.jakarta.criteria.TreatPathImpl
-
- All Implemented Interfaces:
jakarta.persistence.criteria.Expression
,jakarta.persistence.criteria.Path
,jakarta.persistence.criteria.Selection
,jakarta.persistence.TupleElement
,Serializable
public class TreatPathImpl extends PathImpl
Treated (cast) form of a Path (in a WHERE clause).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.datanucleus.api.jakarta.criteria.ExpressionImpl
cb
-
-
Constructor Summary
Constructors Constructor Description TreatPathImpl(CriteriaBuilderImpl cb, PathImpl path, Class cls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.datanucleus.store.query.expression.Expression
getQueryExpression()
Accessor for the underlying DataNucleus expression for this path.jakarta.persistence.metamodel.Type<?>
getType()
String
toString()
Method to return the path as something suitable for use as JPQL single-string.-
Methods inherited from class org.datanucleus.api.jakarta.criteria.PathImpl
get, get, get, get, getModel, getParentPath, type
-
Methods inherited from class org.datanucleus.api.jakarta.criteria.ExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
-
-
-
-
Constructor Detail
-
TreatPathImpl
public TreatPathImpl(CriteriaBuilderImpl cb, PathImpl path, Class cls)
-
-
Method Detail
-
getQueryExpression
public org.datanucleus.store.query.expression.Expression getQueryExpression()
Description copied from class:PathImpl
Accessor for the underlying DataNucleus expression for this path. Creates it if not yet existing.- Overrides:
getQueryExpression
in classPathImpl
- Returns:
- The DataNucleus query expression
-
-