Class MySqlPart
java.lang.Object
com.northconcepts.datapipeline.jdbc.sql.SqlPart
com.northconcepts.datapipeline.sql.mysql.MySqlPart
- Direct Known Subclasses:
CreateForeignKey,CreateIndex,CreateMySqlDdlFromSchemaDef,CreateTable,CreateTableColumn,DropTable,DropTableConstraint,Insert,InsertRow,InsertValue,Upsert
Base class for the MySQL statement builders; identifiers are quoted with backticks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringescapeKeyword(String keyword) Returns the given name wrapped in double quotes, without escaping any double quotes inside it.protected static StringplaceBackTicks(String identifier) Returns the given identifier wrapped in backticks, without escaping any backticks inside it.Methods inherited from class com.northconcepts.datapipeline.jdbc.sql.SqlPart
collectParameterValues, collectSqlFragment, getParameterValues, getSqlFragment, isPretty, printSqlParts, setPretty, toString
-
Constructor Details
-
MySqlPart
public MySqlPart()
-
-
Method Details
-
escapeKeyword
Returns the given name wrapped in double quotes, without escaping any double quotes inside it. -
placeBackTicks
Returns the given identifier wrapped in backticks, without escaping any backticks inside it.
-