X
- the type of the entityclass RootImpl<X> extends FromImpl<X,X> implements javax.persistence.criteria.Root<X>
Constructor and Description |
---|
RootImpl(Types.Entity<X> type) |
Modifier and Type | Method and Description |
---|---|
void |
addToContext(ExpressionFactory factory,
MetamodelImpl model,
CriteriaQueryImpl<?> q) |
StringBuilder |
asValue(AliasContext q)
Get a string representation of this node as a value in the context of the given query.
|
StringBuilder |
asVariable(AliasContext q)
Get a string representation of this node as a variable in the context of the given query.
|
javax.persistence.metamodel.EntityType<X> |
getModel()
Returns the bindable object that corresponds to the path expression.
|
Expression |
toKernelExpression(ExpressionFactory factory,
CriteriaQueryImpl<?> c)
Convert this path to a kernel expression.
|
Value |
toValue(ExpressionFactory factory,
CriteriaQueryImpl<?> c)
Convert this path to a kernel path value.
|
acceptVisit, assertJoinable, fetch, fetch, fetch, fetch, fetch, fetch, getCorrelationParent, getFetches, getJoins, getType, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
get, get, get, get, getCorrelatedJoin, getCorrelatedPath, getCorrelatedRoot, getEmbeddedFieldMetaData, getInnermostMember, getInnermostParentPath, getMember, getParentPath, inSubquery, isCorrelated, setCorrelatedPath, traversePath, type
as, in, in, in, in, isNotNull, isNull
alias, asProjection, assertValidName, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAlias
clone, equals, finalize, 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(Types.Entity<X> type)
public javax.persistence.metamodel.EntityType<X> getModel()
PathImpl
public void addToContext(ExpressionFactory factory, MetamodelImpl model, CriteriaQueryImpl<?> q)
public Value toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
public Expression toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> c)
toKernelExpression
in class ExpressionImpl<X>
factory
- creates the kernel expressionc
- the query definition context of this expressionpublic StringBuilder asValue(AliasContext q)
CriteriaExpression
public StringBuilder asVariable(AliasContext q)
CriteriaExpression
asVariable
in interface CriteriaExpression
asVariable
in class PathImpl<X,X>
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.