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, joinSetget, get, get, get, getCorrelatedJoin, getCorrelatedPath, getCorrelatedRoot, getEmbeddedFieldMetaData, getInnermostMember, getInnermostParentPath, getMember, getParentPath, inSubquery, isCorrelated, setCorrelatedPath, traversePath, typeas, in, in, in, in, isNotNull, isNullalias, asProjection, assertValidName, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSetget, get, get, get, getParentPath, typeas, in, in, in, in, isNotNull, isNullpublic RootImpl(Types.Entity<X> type)
public javax.persistence.metamodel.EntityType<X> getModel()
PathImplpublic 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)
CriteriaExpressionpublic StringBuilder asVariable(AliasContext q)
CriteriaExpressionasVariable in interface CriteriaExpressionasVariable in class PathImpl<X,X>Copyright © 2006–2013 Apache Software Foundation. All rights reserved.