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

public abstract class MySqlPart extends SqlPart
Base class for the MySQL statement builders; identifiers are quoted with backticks.
  • Constructor Details

    • MySqlPart

      public MySqlPart()
  • Method Details

    • escapeKeyword

      protected static String escapeKeyword(String keyword)
      Returns the given name wrapped in double quotes, without escaping any double quotes inside it.
    • placeBackTicks

      protected static String placeBackTicks(String identifier)
      Returns the given identifier wrapped in backticks, without escaping any backticks inside it.