Class TreatRootImpl
- java.lang.Object
-
- org.datanucleus.api.jakarta.criteria.ExpressionImpl<X>
-
- org.datanucleus.api.jakarta.criteria.PathImpl<Z,X>
-
- org.datanucleus.api.jakarta.criteria.FromImpl<X,X>
-
- org.datanucleus.api.jakarta.criteria.RootImpl
-
- org.datanucleus.api.jakarta.criteria.TreatRootImpl
-
- All Implemented Interfaces:
jakarta.persistence.criteria.Expression
,jakarta.persistence.criteria.FetchParent
,jakarta.persistence.criteria.From
,jakarta.persistence.criteria.Path
,jakarta.persistence.criteria.Root
,jakarta.persistence.criteria.Selection
,jakarta.persistence.TupleElement
,Serializable
public class TreatRootImpl extends RootImpl
Treated (cast) form of a Root (in a WHERE clause).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.datanucleus.api.jakarta.criteria.FromImpl
fetchJoins, joins
-
Fields inherited from class org.datanucleus.api.jakarta.criteria.ExpressionImpl
cb
-
-
Constructor Summary
Constructors Constructor Description TreatRootImpl(CriteriaBuilderImpl cb, RootImpl 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 a JPQL string form of the root expression.-
Methods inherited from class org.datanucleus.api.jakarta.criteria.FromImpl
fetch, fetch, fetch, fetch, fetch, fetch, getAttributeType, getCorrelationParent, getFetches, getJoins, getQueryExpression, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, toString
-
Methods inherited from class org.datanucleus.api.jakarta.criteria.PathImpl
get, get, get, get, 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
-
Methods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface jakarta.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
-
Methods inherited from interface jakarta.persistence.criteria.Path
get, get, get, get, getParentPath, type
-
-
-
-
Constructor Detail
-
TreatRootImpl
public TreatRootImpl(CriteriaBuilderImpl cb, RootImpl path, Class cls)
-
-
Method Detail
-
getQueryExpression
public org.datanucleus.store.query.expression.Expression getQueryExpression()
Description copied from class:FromImpl
Accessor for the underlying DataNucleus expression for this path.- Overrides:
getQueryExpression
in classFromImpl
- Returns:
- The DataNucleus query expression
-
-