Package jakarta.persistence.criteria
Interface Root<X>
- Type Parameters:
X
- the entity type referenced by the root
- All Superinterfaces:
Expression<X>
,FetchParent<X,
,X> From<X,
,X> Path<X>
,Selection<X>
,TupleElement<X>
A root type in the from clause.
Query roots always reference entities.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
Return the metamodel entity corresponding to the root.Methods inherited from interface jakarta.persistence.criteria.Expression
as, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo
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, 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
Methods inherited from interface jakarta.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface jakarta.persistence.TupleElement
getAlias, getJavaType
-
Method Details
-
getModel
EntityType<X> getModel()Return the metamodel entity corresponding to the root.
-