public abstract class OuterJoinLoader extends BasicLoader
Loader.SqlStatementWrapper| Modifier and Type | Field and Description |
|---|---|
protected String[] |
aliases |
protected int[] |
collectionOwners |
protected CollectionPersister[] |
collectionPersisters |
protected String[] |
collectionSuffixes |
protected LockMode[] |
lockModeArray |
protected EntityType[] |
ownerAssociationTypes |
protected int[] |
owners |
protected Loadable[] |
persisters |
protected String |
sql |
protected String[] |
suffixes |
NO_SUFFIXDEBUG_ENABLED, LOG| Constructor and Description |
|---|
OuterJoinLoader(SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getAliases()
Get the SQL table aliases of entities whose
associations are subselect-loadable, returning
null if this loader does not support subselect
loading
|
protected int[] |
getCollectionOwners()
Get the index of the entity that owns the collection, or -1
if there is no owner in the query results (ie.
|
protected CollectionPersister[] |
getCollectionPersisters()
An (optional) persister for a collection to be initialized; only
collection loaders return a non-null value
|
protected String[] |
getCollectionSuffixes() |
protected Dialect |
getDialect() |
protected Loadable[] |
getEntityPersisters()
An array of persisters of entity classes contained in each row of results;
implemented by all subclasses
|
LoadQueryInfluencers |
getLoadQueryInfluencers() |
protected LockMode[] |
getLockModes(LockOptions lockOptions)
What lock options does this load entities with?
|
protected LockOptions |
getLockOptions() |
protected EntityType[] |
getOwnerAssociationTypes()
An array of the owner types corresponding to the
Loader.getOwners()
returns. |
protected int[] |
getOwners()
An array of indexes of the entity that owns a one-to-one association
to the entity at the given index (-1 if there is no "owner").
|
String |
getSQLString()
The SQL query string to be called; implemented by all subclasses
|
protected String[] |
getSuffixes() |
protected void |
initFromWalker(JoinWalker walker) |
generateSuffixes, generateSuffixes, getCollectionAliases, getEntityAliases, postInstantiateapplyLocks, applyPostLoadLocks, areResultSetRowsTransformedImmediately, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, checkScrollability, determineFollowOnLockMode, doList, doQueryAndInitializeNonLazyCollections, doQueryAndInitializeNonLazyCollections, executeQueryStatement, executeQueryStatement, extractKeysFromResultSet, getCompositeKeyManyToOneTargetIndices, getEntityEagerPropertyFetches, getFactory, getLimitHandler, getNamedParameterLocs, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultRow, getResultRowAliases, getResultSet, hasSubselectLoadableCollections, includeInResultRow, isSingleRowLoader, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, processResultSet, putResultInQueryCache, resolveResultTransformer, scroll, shouldUseFollowOnLocking, toString, upgradeLocksprotected Loadable[] persisters
protected CollectionPersister[] collectionPersisters
protected int[] collectionOwners
protected String[] aliases
protected LockMode[] lockModeArray
protected int[] owners
protected EntityType[] ownerAssociationTypes
protected String sql
protected String[] suffixes
protected String[] collectionSuffixes
public OuterJoinLoader(SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
protected final Dialect getDialect()
protected String[] getSuffixes()
getSuffixes in class BasicLoaderprotected String[] getCollectionSuffixes()
getCollectionSuffixes in class BasicLoaderpublic final String getSQLString()
LoadergetSQLString in class LoaderResultSet.protected final Loadable[] getEntityPersisters()
LoadergetEntityPersisters in class Loaderprotected int[] getOwners()
LoaderLoader.getEntityPersisters().protected EntityType[] getOwnerAssociationTypes()
LoaderLoader.getOwners()
returns. Indices indicating no owner would be null here.getOwnerAssociationTypes in class Loaderprotected LockMode[] getLockModes(LockOptions lockOptions)
LoadergetLockModes in class LoaderlockOptions - a collection of lock options specified dynamically via the Query interfaceprotected LockOptions getLockOptions()
public LoadQueryInfluencers getLoadQueryInfluencers()
protected final String[] getAliases()
LoadergetAliases in class Loaderprotected final CollectionPersister[] getCollectionPersisters()
LoadergetCollectionPersisters in class Loaderprotected final int[] getCollectionOwners()
LoadergetCollectionOwners in class Loaderprotected void initFromWalker(JoinWalker walker)
Copyright © 2017 JBoss by Red Hat. All rights reserved.