Package io.debezium.connector.db2
Class Db2ObjectNameQuoter
java.lang.Object
io.debezium.connector.db2.Db2ObjectNameQuoter
By default, names in Db2 are upper case. Unless quoted,
any name in a SQL statement will interpreted as the equivalent upper case string.
- Author:
- Luis Garcés-Erice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringquoteNameIfNecessary(String name) This function quotes a table or schema name in Db2 if the name contains at least one lower case character.
-
Constructor Details
-
Db2ObjectNameQuoter
public Db2ObjectNameQuoter()
-
-
Method Details
-
quoteNameIfNecessary
This function quotes a table or schema name in Db2 if the name contains at least one lower case character.- Parameters:
name- The name of the object.- Returns:
- The name of object between quotes if it is not all upper-case.
-