接口 AliasResolutionContext

  • 所有已知实现类:
    AliasResolutionContextImpl

    public interface AliasResolutionContext
    Provides aliases that are used by load queries and ResultSet processors.
    作者:
    Gail Badner, Steve Ebersole
    • 方法详细资料

      • resolveSqlTableAliasFromQuerySpaceUid

        String resolveSqlTableAliasFromQuerySpaceUid​(String querySpaceUid)
      • resolveEntityReferenceAliases

        EntityReferenceAliases resolveEntityReferenceAliases​(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.

        参数:
        querySpaceUid - The QuerySpace UID whose EntityReferenceAliases we want to look up.
        返回:
        The corresponding QuerySpace UID, or null.
      • resolveCollectionReferenceAliases

        CollectionReferenceAliases resolveCollectionReferenceAliases​(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.

        参数:
        querySpaceUid - The QuerySpace UID whose CollectionReferenceAliases we want to look up.
        返回:
        The corresponding QuerySpace UID, or null.