public class LoadQueryAliasResolutionContextImpl extends Object implements LoadQueryAliasResolutionContext
| Constructor and Description |
|---|
LoadQueryAliasResolutionContextImpl(SessionFactoryImplementor sessionFactory,
int suffixSeed,
Map<Return,String[]> aliasesByReturn) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
resolveAssociationAliasedLhsColumnNames(JoinableAssociation joinableAssociation)
Resolve the column aliases on the left-hand-side of the specified association.
|
String |
resolveAssociationLhsTableAlias(JoinableAssociation joinableAssociation)
Resolve the table alias on the left-hand-side of the specified association.
|
String |
resolveAssociationRhsTableAlias(JoinableAssociation joinableAssociation)
Resolve the table alias on the right-hand-side of the specified association.
|
CollectionAliases |
resolveCollectionColumnAliases(CollectionReference collectionReference)
Returns the description of the aliases in the JDBC ResultSet that identify values "belonging" to
the specified
CollectionReference. |
EntityAliases |
resolveCollectionElementColumnAliases(CollectionReference collectionReference)
If the elements of this collection are entities, this methods returns the JDBC ResultSet alias descriptions
for that entity;
null indicates a non-entity collection. |
String |
resolveCollectionReturnAlias(CollectionReturn collectionReturn)
Resolve the alias associated with the specified
CollectionReturn. |
String |
resolveCollectionTableAlias(CollectionReference collectionReference)
Resolve the SQL table alias for the specified
CollectionReference. |
EntityAliases |
resolveEntityColumnAliases(EntityReference entityReference)
Returns the description of the aliases in the JDBC ResultSet that identify values "belonging" to
an entity.
|
String |
resolveEntityReturnAlias(EntityReturn entityReturn)
Resolve the alias associated with the specified
EntityReturn. |
String |
resolveEntityTableAlias(EntityReference entityReference)
Resolve the SQL table alias for the specified
EntityReference. |
String[] |
resolveScalarReturnAliases(ScalarReturn scalarReturn)
Resolve the aliases associated with the specified
ScalarReturn. |
protected SessionFactoryImplementor |
sessionFactory() |
public LoadQueryAliasResolutionContextImpl(SessionFactoryImplementor sessionFactory, int suffixSeed, Map<Return,String[]> aliasesByReturn)
public String resolveEntityReturnAlias(EntityReturn entityReturn)
LoadQueryAliasResolutionContextEntityReturn.resolveEntityReturnAlias in interface LoadQueryAliasResolutionContextentityReturn - - the EntityReturn.EntityReturn.public String resolveCollectionReturnAlias(CollectionReturn collectionReturn)
LoadQueryAliasResolutionContextCollectionReturn.resolveCollectionReturnAlias in interface LoadQueryAliasResolutionContextcollectionReturn - - the CollectionReturn.CollectionReturn.public String[] resolveScalarReturnAliases(ScalarReturn scalarReturn)
LoadQueryAliasResolutionContextScalarReturn.resolveScalarReturnAliases in interface LoadQueryAliasResolutionContextscalarReturn - - the ScalarReturn.ScalarReturn.public String resolveEntityTableAlias(EntityReference entityReference)
LoadQueryAliasResolutionContextEntityReference.resolveEntityTableAlias in interface LoadQueryAliasResolutionContextentityReference - - the EntityReference.EntityReference.public EntityAliases resolveEntityColumnAliases(EntityReference entityReference)
LoadQueryAliasResolutionContextresolveEntityColumnAliases in interface LoadQueryAliasResolutionContextentityReference - - the EntityReference for the entity.EntityReferencepublic String resolveCollectionTableAlias(CollectionReference collectionReference)
LoadQueryAliasResolutionContextCollectionReference.resolveCollectionTableAlias in interface LoadQueryAliasResolutionContextcollectionReference - - the CollectionReference.CollectionReference.public CollectionAliases resolveCollectionColumnAliases(CollectionReference collectionReference)
LoadQueryAliasResolutionContextCollectionReference.resolveCollectionColumnAliases in interface LoadQueryAliasResolutionContextCollectionReferencepublic EntityAliases resolveCollectionElementColumnAliases(CollectionReference collectionReference)
LoadQueryAliasResolutionContextnull indicates a non-entity collection.resolveCollectionElementColumnAliases in interface LoadQueryAliasResolutionContextnullpublic String resolveAssociationRhsTableAlias(JoinableAssociation joinableAssociation)
LoadQueryAliasResolutionContextresolveAssociationRhsTableAlias in interface LoadQueryAliasResolutionContextjoinableAssociation - - the joinable association.public String resolveAssociationLhsTableAlias(JoinableAssociation joinableAssociation)
LoadQueryAliasResolutionContextresolveAssociationLhsTableAlias in interface LoadQueryAliasResolutionContextjoinableAssociation - - the joinable association.public String[] resolveAssociationAliasedLhsColumnNames(JoinableAssociation joinableAssociation)
LoadQueryAliasResolutionContextresolveAssociationAliasedLhsColumnNames in interface LoadQueryAliasResolutionContextjoinableAssociation - - the joinable associationprotected SessionFactoryImplementor sessionFactory()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.