Package com.linkedin.venice.sql
Class SQLUtils
java.lang.Object
com.linkedin.venice.sql.SQLUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcleanTableName(String avroRecordName) This function should encapsulate the handling of any illegal characters (by either failing or converting them).static StringcreateTableStatement(TableDefinition tableDefinition) static TableDefinitiongetTableDefinition(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).
-