Class AliasManager

java.lang.Object
com.blazebit.persistence.impl.AliasManager

public class AliasManager extends Object
Since:
1.0.0
Author:
Moritz Becker
  • Constructor Details

    • AliasManager

      public AliasManager()
    • AliasManager

      public AliasManager(AliasManager parent)
  • Method Details

    • getParent

      public AliasManager getParent()
    • isAliasAvailable

      public boolean isAliasAvailable(String alias)
    • getAliasInfo

      public AliasInfo getAliasInfo(String alias)
    • getAliasInfoForBottomLevel

      public AliasInfo getAliasInfoForBottomLevel(String alias)
    • applyFrom

      public void applyFrom(AliasManager aliasManager)
    • registerAliasInfo

      public String registerAliasInfo(AliasInfo aliasInfo)
      Register the given alias info if possible If the given alias already exists an exception is thrown.
      Parameters:
      aliasInfo -
      Returns:
      The registered alias
    • generateRootAlias

      public String generateRootAlias(String alias)
    • generateJoinAlias

      public String generateJoinAlias(String alias)
    • getAliasedExpressions

      public Map<String,Expression> getAliasedExpressions()
    • unregisterAliasInfoForBottomLevel

      public void unregisterAliasInfoForBottomLevel(AliasInfo aliasInfo)
    • getForbiddenAlias

      public String getForbiddenAlias()
    • setForbiddenAlias

      public void setForbiddenAlias(String forbiddenAlias)
    • getAliasMapForBottomLevel

      public Map<String,AliasInfo> getAliasMapForBottomLevel()
    • isSelectAlias

      public boolean isSelectAlias(String alias)