public abstract class AbstractFromImpl<Z,X> extends AbstractPathImpl<X> implements javax.persistence.criteria.From<Z,X>, FromImplementor<Z,X>, Serializable
From
implementors.Modifier and Type | Class and Description |
---|---|
protected class |
AbstractFromImpl.BasicJoinScope |
protected class |
AbstractFromImpl.CorrelationJoinScope |
static interface |
AbstractFromImpl.JoinScope<X>
Helper contract used to define who/what keeps track of joins and fetches made from this FROM.
|
ParameterContainer.Helper
Modifier and Type | Field and Description |
---|---|
static javax.persistence.criteria.JoinType |
DEFAULT_JOIN_TYPE |
Constructor and Description |
---|
AbstractFromImpl(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType) |
AbstractFromImpl(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
PathSource pathSource) |
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
renderTableExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
getValueHandlers
getValueHandler
get, get, get, get, getModel, getParentPath, type
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getJavaType
public static final javax.persistence.criteria.JoinType DEFAULT_JOIN_TYPE
public AbstractFromImpl(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType)
public AbstractFromImpl(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, PathSource pathSource)
public PathSource<Z> getPathSource()
getPathSource
in class AbstractPathImpl<X>
public String getPathIdentifier()
AbstractPathImpl
getPathIdentifier
in interface PathSource<X>
getPathIdentifier
in class AbstractPathImpl<X>
protected boolean canBeDereferenced()
canBeDereferenced
in class AbstractPathImpl<X>
public void prepareAlias(CriteriaQueryCompiler.RenderingContext renderingContext)
prepareAlias
in interface FromImplementor<Z,X>
prepareAlias
in interface PathSource<X>
prepareAlias
in class AbstractPathImpl<X>
public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
AbstractPathImpl
renderProjection
in interface Renderable
renderProjection
in class AbstractPathImpl<X>
public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
AbstractPathImpl
render
in interface Renderable
render
in class AbstractPathImpl<X>
public javax.persistence.metamodel.Attribute<?,?> getAttribute()
getAttribute
in interface PathImplementor<X>
public javax.persistence.criteria.From<?,Z> getParent()
protected javax.persistence.metamodel.Attribute<X,?> locateAttributeInternal(String name)
AbstractPathImpl.locateAttribute(java.lang.String)
which also applies nullness checking for proper error reporting.locateAttributeInternal
in class AbstractPathImpl<X>
name
- The name of the attribute to locateprotected javax.persistence.metamodel.ManagedType<? super X> locateManagedType()
public boolean isCorrelated()
isCorrelated
in interface javax.persistence.criteria.From<Z,X>
public FromImplementor<Z,X> getCorrelationParent()
getCorrelationParent
in interface javax.persistence.criteria.From<Z,X>
getCorrelationParent
in interface FromImplementor<Z,X>
public FromImplementor<Z,X> correlateTo(CriteriaSubqueryImpl subquery)
correlateTo
in interface FromImplementor<Z,X>
protected abstract FromImplementor<Z,X> createCorrelationDelegate()
public void prepareCorrelationDelegate(FromImplementor<Z,X> parent)
prepareCorrelationDelegate
in interface FromImplementor<Z,X>
public String getAlias()
AbstractTupleElement
getAlias
in interface TupleElement<X>
getAlias
in class AbstractTupleElement<X>
protected abstract boolean canBeJoinSource()
public Set<javax.persistence.criteria.Join<X,?>> getJoins()
getJoins
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.Join<X,Y> join(javax.persistence.metamodel.SingularAttribute<? super X,Y> singularAttribute)
join
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.Join<X,Y> join(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute, javax.persistence.criteria.JoinType jt)
join
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.CollectionJoin<X,Y> join(javax.persistence.metamodel.CollectionAttribute<? super X,Y> collection)
join
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.CollectionJoin<X,Y> join(javax.persistence.metamodel.CollectionAttribute<? super X,Y> collection, javax.persistence.criteria.JoinType jt)
join
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.SetJoin<X,Y> join(javax.persistence.metamodel.SetAttribute<? super X,Y> set)
join
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.SetJoin<X,Y> join(javax.persistence.metamodel.SetAttribute<? super X,Y> set, javax.persistence.criteria.JoinType jt)
join
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.ListJoin<X,Y> join(javax.persistence.metamodel.ListAttribute<? super X,Y> list)
join
in interface javax.persistence.criteria.From<Z,X>
public <Y> javax.persistence.criteria.ListJoin<X,Y> join(javax.persistence.metamodel.ListAttribute<? super X,Y> list, javax.persistence.criteria.JoinType jt)
join
in interface javax.persistence.criteria.From<Z,X>
public <K,V> javax.persistence.criteria.MapJoin<X,K,V> join(javax.persistence.metamodel.MapAttribute<? super X,K,V> map)
join
in interface javax.persistence.criteria.From<Z,X>
public <K,V> javax.persistence.criteria.MapJoin<X,K,V> join(javax.persistence.metamodel.MapAttribute<? super X,K,V> map, javax.persistence.criteria.JoinType jt)
join
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.Join<X,Y> join(String attributeName)
join
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.Join<X,Y> join(String attributeName, javax.persistence.criteria.JoinType jt)
join
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.CollectionJoin<X,Y> joinCollection(String attributeName)
joinCollection
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.CollectionJoin<X,Y> joinCollection(String attributeName, javax.persistence.criteria.JoinType jt)
joinCollection
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.SetJoin<X,Y> joinSet(String attributeName)
joinSet
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.SetJoin<X,Y> joinSet(String attributeName, javax.persistence.criteria.JoinType jt)
joinSet
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.ListJoin<X,Y> joinList(String attributeName)
joinList
in interface javax.persistence.criteria.From<Z,X>
public <X,Y> javax.persistence.criteria.ListJoin<X,Y> joinList(String attributeName, javax.persistence.criteria.JoinType jt)
joinList
in interface javax.persistence.criteria.From<Z,X>
public <X,K,V> javax.persistence.criteria.MapJoin<X,K,V> joinMap(String attributeName)
joinMap
in interface javax.persistence.criteria.From<Z,X>
public <X,K,V> javax.persistence.criteria.MapJoin<X,K,V> joinMap(String attributeName, javax.persistence.criteria.JoinType jt)
joinMap
in interface javax.persistence.criteria.From<Z,X>
protected boolean canBeFetchSource()
public Set<javax.persistence.criteria.Fetch<X,?>> getFetches()
getFetches
in interface javax.persistence.criteria.FetchParent<Z,X>
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> singularAttribute)
fetch
in interface javax.persistence.criteria.FetchParent<Z,X>
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute, javax.persistence.criteria.JoinType jt)
fetch
in interface javax.persistence.criteria.FetchParent<Z,X>
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> pluralAttribute)
fetch
in interface javax.persistence.criteria.FetchParent<Z,X>
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> pluralAttribute, javax.persistence.criteria.JoinType jt)
fetch
in interface javax.persistence.criteria.FetchParent<Z,X>
public <X,Y> javax.persistence.criteria.Fetch<X,Y> fetch(String attributeName)
fetch
in interface javax.persistence.criteria.FetchParent<Z,X>
public <X,Y> javax.persistence.criteria.Fetch<X,Y> fetch(String attributeName, javax.persistence.criteria.JoinType jt)
fetch
in interface javax.persistence.criteria.FetchParent<Z,X>
Copyright © 2002-2020 Red Hat Middleware, LLC. All Rights Reserved