Interface AliasResolutionContext


  • public interface AliasResolutionContext
    Provides aliases that are used by load queries and ResultSet processors.
    • 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 returns null if 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 returns null if 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.