Package com.linkedin.venice.sql
Class SQLUtils
java.lang.Object
com.linkedin.venice.sql.SQLUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
cleanTableName
(String avroRecordName) This function should encapsulate the handling of any illegal characters (by either failing or converting them).static String
createTableStatement
(TableDefinition tableDefinition) static TableDefinition
getTableDefinition
(String tableName, Connection connection)
-
Method Details
-
getTableDefinition
@Nullable public static TableDefinition getTableDefinition(@Nonnull String tableName, Connection connection) throws SQLException - Throws:
SQLException
-
createTableStatement
-
cleanTableName
This function should encapsulate the handling of any illegal characters (by either failing or converting them).
-