Interface AliasTransformer

All Known Implementing Classes:
DefaultAliasTransformer, PostgresAliasTransformer, UppercaseAliasTransformer

public interface AliasTransformer
A transformer for database aliases

This interface provides a method for transforming a given alias string into another form, which might be based on specific database or application requirements.

Implementations of this interface can apply various transformation rules, such as returning the alias as-is, converting it to uppercase, or other modifications that suit particular use cases.

  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    transformAlias(@Nullable String dbAlias)
    Transforms the given database alias into another form.
  • Method Details

    • transformAlias

      @Nullable String transformAlias(@Nullable String dbAlias)
      Transforms the given database alias into another form.

      The transformation rules are implementation-specific and can vary based on the requirements of the database or application.

      Parameters:
      dbAlias - The alias to be transformed.
      Returns:
      The transformed alias, or null if the input alias is null.