public class RootImpl<X> extends AbstractFromImpl<X,X> implements Root<X>, Serializable
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>
ParameterContainer.Helper
DEFAULT_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, prepareCorrelationDelegate
get, get, get, get, getParentPath, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttribute
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
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
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
getValueHandlers
getValueHandler
public RootImpl(CriteriaBuilderImpl criteriaBuilder, EntityType<X> entityType)
public EntityType<X> getEntityType()
public EntityType<X> getModel()
Root
protected 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()
AbstractPathImpl
getPathIdentifier
in interface PathSource<X>
getPathIdentifier
in class AbstractFromImpl<X,X>
public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
AbstractPathImpl
render
in interface Renderable
render
in class AbstractFromImpl<X,X>
public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
AbstractPathImpl
renderProjection
in interface Renderable
renderProjection
in class AbstractFromImpl<X,X>
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.