EntityLoader
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int[][] | |
| private final LockOptions |
| Access | Constructor and Description |
|---|---|
| public | EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockMode lockMode, final SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
|
| public | EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int[][] | |
| protected int | getJoinType(OuterJoinLoadable
The owner of the association. persister, PropertyPath The path to the association path, int The property number representing the association. propertyNumber, AssociationType The association type. associationType, FetchMode The metadata-defined fetch mode. metadataFetchMode, CascadeStyle The metadata-defined cascade style. metadataCascadeStyle, String The owner table lhsTable, String[] The owner join columns lhsColumns, boolean Is the association nullable. nullable, int Current join depth currentDepth)Overrides org. |
| compositeKeyManyToOneTargetIndices | back to summary |
|---|---|
| private final int[][] compositeKeyManyToOneTargetIndices | |
| lockOptions | back to summary |
|---|---|
| private final LockOptions lockOptions | |
| EntityJoinWalker | back to summary |
|---|---|
| public EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockMode lockMode, final SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException | |
| EntityJoinWalker | back to summary |
|---|---|
| public EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException | |
| getComment | back to summary |
|---|---|
| public String getComment() Implements abstract org. | |
| getCompositeKeyManyToOneTargetIndices | back to summary |
|---|---|
| public int[][] getCompositeKeyManyToOneTargetIndices() | |
| getJoinType | back to summary |
|---|---|
| protected int getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth) throws MappingException Overrides org. Doc from org. Determine the appropriate type of join (if any) to use to fetch the given association.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ArrayList | |
| private final HashMap | |
| private final SessionFactoryImplementor | |
| private final HashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | associationProcessed(OuterJoinableAssociation oja, int position)
Implements org. |
| private void | findKeyManyToOneTargetIndices(ArrayList<Integer> keyManyToOneTargetIndices, OuterJoinableAssociation joinWithCompositeId, CompositeType componentType)
|
| private boolean | |
| private Integer | locateKeyManyToOneTargetIndex(OuterJoinableAssociation joinWithCompositeId, EntityType keyManyToOneType)
|
| public int[][] |
| aliasesForAssociationsWithCompositesIds | back to summary |
|---|---|
| private final ArrayList<String> aliasesForAssociationsWithCompositesIds | |
| associationsByAlias | back to summary |
|---|---|
| private final HashMap<String, OuterJoinableAssociation> associationsByAlias | |
| factory | back to summary |
|---|---|
| private final SessionFactoryImplementor factory | |
| positionsByAlias | back to summary |
|---|---|
| private final HashMap<String, Integer> positionsByAlias | |
| AssociationInitCallbackImpl | back to summary |
|---|---|
| public AssociationInitCallbackImpl(SessionFactoryImplementor factory) | |
| associationProcessed | back to summary |
|---|---|
| public void associationProcessed(OuterJoinableAssociation oja, int position) Implements org. | |
| findKeyManyToOneTargetIndices | back to summary |
|---|---|
| private void findKeyManyToOneTargetIndices(ArrayList<Integer> keyManyToOneTargetIndices, OuterJoinableAssociation joinWithCompositeId, CompositeType componentType) | |
| hasAssociation | back to summary |
|---|---|
| private boolean hasAssociation(CompositeType componentType) | |
| locateKeyManyToOneTargetIndex | back to summary |
|---|---|
| private Integer locateKeyManyToOneTargetIndex(OuterJoinableAssociation joinWithCompositeId, EntityType keyManyToOneType) | |
| resolve | back to summary |
|---|---|
| public int[][] resolve() | |