public class RootImpl<X> extends FromImpl<X,X> implements javax.persistence.criteria.Root<X>
Purpose: Contains the implementation of the Root interface of the JPA criteria API.
Description: This class represents root of a path. All paths are created from roots and they correspond to ExpressionBuilders.
Path
,
Serialized FormConstructor and Description |
---|
RootImpl(javax.persistence.metamodel.ManagedType managedType,
javax.persistence.metamodel.Metamodel metamodel,
java.lang.Class<X> javaClass,
Expression expressionNode,
javax.persistence.metamodel.Bindable modelArtifact) |
RootImpl(javax.persistence.metamodel.ManagedType managedType,
javax.persistence.metamodel.Metamodel metamodel,
java.lang.Class<X> javaClass,
Expression expressionNode,
javax.persistence.metamodel.Bindable modelArtifact,
FromImpl correlatedParent) |
Modifier and Type | Method and Description |
---|---|
void |
findRootAndParameters(CommonAbstractCriteriaImpl query) |
javax.persistence.metamodel.EntityType<X> |
getModel()
Return the metamodel entity corresponding to the root.
|
boolean |
isRoot() |
fetch, fetch, fetch, fetch, fetch, fetch, findJoinFetches, findJoins, get, get, get, get, getCorrelationParent, getFetches, getJoins, isCorrelated, isFrom, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, type
getParentPath
as, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubquery
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
get, get, get, get, getParentPath, type
as, in, in, in, in, isNotNull, isNull
public RootImpl(javax.persistence.metamodel.ManagedType managedType, javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<X> javaClass, Expression expressionNode, javax.persistence.metamodel.Bindable modelArtifact)
public RootImpl(javax.persistence.metamodel.ManagedType managedType, javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<X> javaClass, Expression expressionNode, javax.persistence.metamodel.Bindable modelArtifact, FromImpl correlatedParent)
public javax.persistence.metamodel.EntityType<X> getModel()
public void findRootAndParameters(CommonAbstractCriteriaImpl query)
findRootAndParameters
in interface InternalSelection
findRootAndParameters
in class PathImpl<X>
public boolean isRoot()
isRoot
in interface InternalSelection
isRoot
in class SelectionImpl<X>
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference