java.lang.Object
org.litebridge.db.postgres.PostgresAliasTransformer
- All Implemented Interfaces:
AliasTransformer
PostgreSQL-specific implementation of
AliasTransformer.
This transformer converts database aliases to lowercase, matching PostgreSQL's default behavior of folding unquoted identifiers to lowercase.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringtransformAlias(@Nullable String dbAlias) Transforms the given database alias into another form.
-
Constructor Details
-
PostgresAliasTransformer
public PostgresAliasTransformer()
-
-
Method Details
-
transformAlias
Description copied from interface:AliasTransformerTransforms 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.
- Specified by:
transformAliasin interfaceAliasTransformer- Parameters:
dbAlias- The alias to be transformed.- Returns:
- The transformed alias, or null if the input alias is null.
-