public interface AliasResolutionContext
Provides aliases that are used by load queries and ResultSet processors.
Modifier and Type | Method and Description |
---|---|
CollectionReferenceAliases |
resolveCollectionReferenceAliases(String querySpaceUid)
Resolve the given QuerySpace UID to the CollectionReferenceAliases representing the SQL aliases used in
building the SQL query.
|
EntityReferenceAliases |
resolveEntityReferenceAliases(String querySpaceUid)
Resolve the given QuerySpace UID to the EntityReferenceAliases representing the SQL aliases used in
building the SQL query.
|
String |
resolveSqlTableAliasFromQuerySpaceUid(String querySpaceUid) |
String resolveSqlTableAliasFromQuerySpaceUid(String querySpaceUid)
EntityReferenceAliases resolveEntityReferenceAliases(String querySpaceUid)
Resolve the given QuerySpace UID to the EntityReferenceAliases representing the SQL aliases used in
building the SQL query.
<p/>
Assumes that a QuerySpace has already been registered. As such this method simply returns null
if
no QuerySpace with that UID has yet been resolved in the context.
querySpaceUid
- The QuerySpace UID whose EntityReferenceAliases we want to look up.null
.CollectionReferenceAliases resolveCollectionReferenceAliases(String querySpaceUid)
Resolve the given QuerySpace UID to the CollectionReferenceAliases representing the SQL aliases used in
building the SQL query.
<p/>
Assumes that a QuerySpace has already been registered. As such this method simply returns null
if
no QuerySpace with that UID has yet been resolved in the context.
querySpaceUid
- The QuerySpace UID whose CollectionReferenceAliases we want to look up.null
.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.