Interface AliasResolutionContext
-
public interface AliasResolutionContextProvides aliases that are used by load queries and ResultSet processors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionReferenceAliasesresolveCollectionReferenceAliases(java.lang.String querySpaceUid)Resolve the given QuerySpace UID to the CollectionReferenceAliases representing the SQL aliases used in building the SQL query.EntityReferenceAliasesresolveEntityReferenceAliases(java.lang.String querySpaceUid)Resolve the given QuerySpace UID to the EntityReferenceAliases representing the SQL aliases used in building the SQL query.java.lang.StringresolveSqlTableAliasFromQuerySpaceUid(java.lang.String querySpaceUid)
-
-
-
Method Detail
-
resolveSqlTableAliasFromQuerySpaceUid
java.lang.String resolveSqlTableAliasFromQuerySpaceUid(java.lang.String querySpaceUid)
-
resolveEntityReferenceAliases
EntityReferenceAliases resolveEntityReferenceAliases(java.lang.String querySpaceUid)
Resolve the given QuerySpace UID to the EntityReferenceAliases representing the SQL aliases used in building the SQL query. Assumes that a QuerySpace has already been registered. As such this method simply returnsnullif no QuerySpace with that UID has yet been resolved in the context.- Parameters:
querySpaceUid- The QuerySpace UID whose EntityReferenceAliases we want to look up.- Returns:
- The corresponding QuerySpace UID, or
null.
-
resolveCollectionReferenceAliases
CollectionReferenceAliases resolveCollectionReferenceAliases(java.lang.String querySpaceUid)
Resolve the given QuerySpace UID to the CollectionReferenceAliases representing the SQL aliases used in building the SQL query. Assumes that a QuerySpace has already been registered. As such this method simply returnsnullif no QuerySpace with that UID has yet been resolved in the context.- Parameters:
querySpaceUid- The QuerySpace UID whose CollectionReferenceAliases we want to look up.- Returns:
- The corresponding QuerySpace UID, or
null.
-
-