public abstract class AbstractEntityJoinWalker extends JoinWalker
JoinWalker.AssociationInitCallback
aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, lockOptions, ownerAssociationTypes, owners, persisters, sql, suffixes
Constructor and Description |
---|
AbstractEntityJoinWalker(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
AbstractEntityJoinWalker(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers,
java.lang.String alias) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias() |
abstract java.lang.String |
getComment() |
Loadable |
getPersister() |
protected java.lang.String |
getWhereFragment() |
protected void |
initAll(java.lang.String whereString,
java.lang.String orderByString,
LockOptions lockOptions) |
protected void |
initAll(java.lang.String whereString,
java.lang.String orderByString,
LockOptions lockOptions,
JoinWalker.AssociationInitCallback callback) |
protected void |
initProjection(java.lang.String projectionString,
java.lang.String whereString,
java.lang.String orderByString,
java.lang.String groupByString,
LockOptions lockOptions) |
protected boolean |
isDuplicateAssociation(java.lang.String foreignKeyTable,
java.lang.String[] foreignKeyColumns)
Used to detect circularities in the joined graph, note that
this method is side-effecty
|
protected boolean |
isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle)
The superclass deliberately excludes collections
|
protected boolean |
isJoinFetchEnabledByProfile(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber) |
protected java.lang.String |
orderBy(java.util.List associations,
java.lang.String orderBy)
For entities, orderings added by, for example, Criteria#addOrder need to come before the associations' @OrderBy
values.
|
java.lang.String |
toString() |
countCollectionPersisters, countEntityPersisters, generateRootAlias, generateTableAlias, getAliases, getAssociations, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getFactory, getJoinType, getJoinType, getJoinType, getLoadQueryInfluencers, getLockModeArray, getLockModeOptions, getOwnerAssociationTypes, getOwners, getPersisters, getSQLString, getSuffixes, getWithClause, hasRestriction, initPersisters, initPersisters, initPersisters, isDuplicateAssociation, isJoinable, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString
public AbstractEntityJoinWalker(OuterJoinLoadable persister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
public AbstractEntityJoinWalker(OuterJoinLoadable persister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers, java.lang.String alias)
protected final void initAll(java.lang.String whereString, java.lang.String orderByString, LockOptions lockOptions) throws MappingException
MappingException
protected final void initAll(java.lang.String whereString, java.lang.String orderByString, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback) throws MappingException
MappingException
protected final void initProjection(java.lang.String projectionString, java.lang.String whereString, java.lang.String orderByString, java.lang.String groupByString, LockOptions lockOptions) throws MappingException
MappingException
protected java.lang.String getWhereFragment() throws MappingException
MappingException
protected boolean isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
isJoinedFetchEnabled
in class JoinWalker
protected final boolean isJoinFetchEnabledByProfile(OuterJoinLoadable persister, PropertyPath path, int propertyNumber)
public abstract java.lang.String getComment()
protected boolean isDuplicateAssociation(java.lang.String foreignKeyTable, java.lang.String[] foreignKeyColumns)
JoinWalker
isDuplicateAssociation
in class JoinWalker
public final Loadable getPersister()
public final java.lang.String getAlias()
protected java.lang.String orderBy(java.util.List associations, java.lang.String orderBy)
orderBy
in class JoinWalker
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.