public class RootImpl<X> extends AbstractFromImpl<X,X> implements Root<X>, Serializable
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>ParameterContainer.HelperDEFAULT_JOIN_TYPE| Constructor and Description |
|---|
RootImpl(CriteriaBuilderImpl criteriaBuilder,
EntityType<X> entityType) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeJoinSource() |
RootImpl<X> |
correlateTo(CriteriaSubqueryImpl subquery) |
protected FromImplementor<X,X> |
createCorrelationDelegate() |
EntityType<X> |
getEntityType() |
EntityType<X> |
getModel()
Return the metamodel entity corresponding to the root.
|
String |
getPathIdentifier()
Get the string representation of this path as a navigation from one of the
queries identification variables
|
String |
render(CriteriaQueryCompiler.RenderingContext renderingContext) |
String |
renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext) |
String |
renderTableExpression(CriteriaQueryCompiler.RenderingContext renderingContext) |
canBeDereferenced, canBeFetchSource, fetch, fetch, fetch, fetch, fetch, fetch, getAlias, getAttribute, getCorrelationParent, getFetches, getJoins, getParent, getPathSource, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, locateAttributeInternal, locateManagedType, prepareAlias, prepareCorrelationDelegateget, get, get, get, getParentPath, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttributeas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, 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, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypefetch, fetch, fetch, fetch, fetch, fetch, getFetchesasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerpublic RootImpl(CriteriaBuilderImpl criteriaBuilder, EntityType<X> entityType)
public EntityType<X> getEntityType()
public EntityType<X> getModel()
Rootprotected FromImplementor<X,X> createCorrelationDelegate()
createCorrelationDelegate in class AbstractFromImpl<X,X>public RootImpl<X> correlateTo(CriteriaSubqueryImpl subquery)
correlateTo in interface FromImplementor<X,X>correlateTo in class AbstractFromImpl<X,X>protected boolean canBeJoinSource()
canBeJoinSource in class AbstractFromImpl<X,X>public String renderTableExpression(CriteriaQueryCompiler.RenderingContext renderingContext)
renderTableExpression in interface FromImplementor<X,X>public String getPathIdentifier()
AbstractPathImplgetPathIdentifier in interface PathSource<X>getPathIdentifier in class AbstractFromImpl<X,X>public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
AbstractPathImplrender in interface Renderablerender in class AbstractFromImpl<X,X>public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
AbstractPathImplrenderProjection in interface RenderablerenderProjection in class AbstractFromImpl<X,X>Copyright © 2012 JBoss by Red Hat. All Rights Reserved.