Class AbstractTableBuilder<TABLE_BUILDER extends AbstractTableBuilder>

All Implemented Interfaces:
ISqlBuilder, ISqlKeywords
Direct Known Subclasses:
AlterTableBuilder, CreateTableBuilder

public abstract class AbstractTableBuilder<TABLE_BUILDER extends AbstractTableBuilder>
extends AbstractCreateSqlBuilder
The Create Table Builder.
  • Constructor Details

    • AbstractTableBuilder

      public AbstractTableBuilder​(ISqlDialect dialect, String table)
      Instantiates a new creates the table builder.
      Parameters:
      dialect - the dialect
      table - the table
  • Method Details

    • getTable

      protected String getTable()
      Gets the table.
      Returns:
      the table
    • getColumns

      protected List<String[]> getColumns()
      Gets the columns.
      Returns:
      the columns
    • column

      public TABLE_BUILDER column​(String name, DataType type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String... args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, DataType type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, DataType type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, DataType type, Boolean isPrimaryKey, Boolean isNullable)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, DataType type, Boolean isPrimaryKey)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, DataType type)
      Column.
      Parameters:
      name - the name
      type - the type
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, int type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, int type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, int type, Boolean isPrimaryKey, Boolean isNullable)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, int type, Boolean isPrimaryKey)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, int type)
      Column.
      Parameters:
      name - the name
      type - the type
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, int type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, Double type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, Double type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, Double type, Boolean isPrimaryKey, Boolean isNullable)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, Double type, Boolean isPrimaryKey)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, Double type)
      Column.
      Parameters:
      name - the name
      type - the type
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, Double type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, String type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, String type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, String type, Boolean isPrimaryKey, Boolean isNullable)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, String type, Boolean isPrimaryKey)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, String type)
      Column.
      Parameters:
      name - the name
      type - the type
      Returns:
      the creates the table builder
    • column

      public TABLE_BUILDER column​(String name, String type, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column.
      Parameters:
      name - the name
      type - the type
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnVarchar

      public TABLE_BUILDER columnVarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String... args)
      Column varchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnVarchar

      public TABLE_BUILDER columnVarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String args)
      Column varchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnVarchar

      public TABLE_BUILDER columnVarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity)
      Column varchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is unique
      Returns:
      the creates the table builder
    • columnVarchar

      public TABLE_BUILDER columnVarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column varchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnVarchar

      public TABLE_BUILDER columnVarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable)
      Column varchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnVarchar

      public TABLE_BUILDER columnVarchar​(String name, int length, Boolean isPrimaryKey)
      Column varchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnVarchar

      public TABLE_BUILDER columnVarchar​(String name, int length)
      Column varchar.
      Parameters:
      name - the name
      length - the length
      Returns:
      the creates the table builder
    • columnNvarchar

      public TABLE_BUILDER columnNvarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String... args)
      Column nvarchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnNvarchar

      public TABLE_BUILDER columnNvarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String args)
      Column nvarchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnNvarchar

      public TABLE_BUILDER columnNvarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity)
      Column nvarchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is unique
      Returns:
      the creates the table builder
    • columnNvarchar

      public TABLE_BUILDER columnNvarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column nvarchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnNvarchar

      public TABLE_BUILDER columnNvarchar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable)
      Column nvarchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnNvarchar

      public TABLE_BUILDER columnNvarchar​(String name, int length, Boolean isPrimaryKey)
      Column nvarchar.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnNvarchar

      public TABLE_BUILDER columnNvarchar​(String name, int length)
      Column nvarchar.
      Parameters:
      name - the name
      length - the length
      Returns:
      the creates the table builder
    • columnChar

      public TABLE_BUILDER columnChar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String... args)
      Column char.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnChar

      public TABLE_BUILDER columnChar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column char.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnChar

      public TABLE_BUILDER columnChar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column char.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnChar

      public TABLE_BUILDER columnChar​(String name, int length, Boolean isPrimaryKey, Boolean isNullable)
      Column char.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnChar

      public TABLE_BUILDER columnChar​(String name, int length, Boolean isPrimaryKey)
      Column char.
      Parameters:
      name - the name
      length - the length
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnChar

      public TABLE_BUILDER columnChar​(String name, int length)
      Column char.
      Parameters:
      name - the name
      length - the length
      Returns:
      the creates the table builder
    • columnDate

      public TABLE_BUILDER columnDate​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column date.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnDate

      public TABLE_BUILDER columnDate​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column date.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnDate

      public TABLE_BUILDER columnDate​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column date.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnDate

      public TABLE_BUILDER columnDate​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column date.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnDate

      public TABLE_BUILDER columnDate​(String name, Boolean isPrimaryKey)
      Column date.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnDate

      public TABLE_BUILDER columnDate​(String name)
      Column date.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnTime

      public TABLE_BUILDER columnTime​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column time.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnTime

      public TABLE_BUILDER columnTime​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column time.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnTime

      public TABLE_BUILDER columnTime​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column time.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnTime

      public TABLE_BUILDER columnTime​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column time.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnTime

      public TABLE_BUILDER columnTime​(String name, Boolean isPrimaryKey)
      Column time.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnTime

      public TABLE_BUILDER columnTime​(String name)
      Column time.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnTimestamp

      public TABLE_BUILDER columnTimestamp​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column timestamp.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnTimestamp

      public TABLE_BUILDER columnTimestamp​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column timestamp.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnTimestamp

      public TABLE_BUILDER columnTimestamp​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column timestamp.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnTimestamp

      public TABLE_BUILDER columnTimestamp​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column timestamp.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnTimestamp

      public TABLE_BUILDER columnTimestamp​(String name, Boolean isPrimaryKey)
      Column timestamp.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnTimestamp

      public TABLE_BUILDER columnTimestamp​(String name)
      Column timestamp.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnInteger

      public TABLE_BUILDER columnInteger​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String... args)
      Column integer.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnInteger

      public TABLE_BUILDER columnInteger​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String args)
      Column integer.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnInteger

      public TABLE_BUILDER columnInteger​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column integer.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnInteger

      public TABLE_BUILDER columnInteger​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column integer.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnInteger

      public TABLE_BUILDER columnInteger​(String name, Boolean isPrimaryKey)
      Column integer.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnInteger

      public TABLE_BUILDER columnInteger​(String name)
      Column integer.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnTinyint

      public TABLE_BUILDER columnTinyint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column tinyint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnTinyint

      public TABLE_BUILDER columnTinyint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column tinyint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnTinyint

      public TABLE_BUILDER columnTinyint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column tinyint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnTinyint

      public TABLE_BUILDER columnTinyint​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column tinyint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnTinyint

      public TABLE_BUILDER columnTinyint​(String name, Boolean isPrimaryKey)
      Column tinyint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnTinyint

      public TABLE_BUILDER columnTinyint​(String name)
      Column tinyint.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnBigint

      public TABLE_BUILDER columnBigint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String... args)
      Column bigint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnBigint

      public TABLE_BUILDER columnBigint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String args)
      Column bigint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnBigint

      public TABLE_BUILDER columnBigint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column bigint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnBigint

      public TABLE_BUILDER columnBigint​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column bigint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnBigint

      public TABLE_BUILDER columnBigint​(String name, Boolean isPrimaryKey)
      Column bigint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnBigint

      public TABLE_BUILDER columnBigint​(String name)
      Column bigint.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnSmallint

      public TABLE_BUILDER columnSmallint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column smallint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnSmallint

      public TABLE_BUILDER columnSmallint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column smallint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnSmallint

      public TABLE_BUILDER columnSmallint​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column smallint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnSmallint

      public TABLE_BUILDER columnSmallint​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column smallint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnSmallint

      public TABLE_BUILDER columnSmallint​(String name, Boolean isPrimaryKey)
      Column smallint.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnSmallint

      public TABLE_BUILDER columnSmallint​(String name)
      Column smallint.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnReal

      public TABLE_BUILDER columnReal​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column real.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnReal

      public TABLE_BUILDER columnReal​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column real.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnReal

      public TABLE_BUILDER columnReal​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column real.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnReal

      public TABLE_BUILDER columnReal​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column real.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnReal

      public TABLE_BUILDER columnReal​(String name, Boolean isPrimaryKey)
      Column real.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnReal

      public TABLE_BUILDER columnReal​(String name)
      Column real.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnFloat

      public TABLE_BUILDER columnFloat​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column float.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnFloat

      public TABLE_BUILDER columnFloat​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column float.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnFloat

      public TABLE_BUILDER columnFloat​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column float.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnFloat

      public TABLE_BUILDER columnFloat​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column float.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnFloat

      public TABLE_BUILDER columnFloat​(String name, Boolean isPrimaryKey)
      Column float.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnFloat

      public TABLE_BUILDER columnFloat​(String name)
      Column float.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnDouble

      public TABLE_BUILDER columnDouble​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column double.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnDouble

      public TABLE_BUILDER columnDouble​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column double.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnDouble

      public TABLE_BUILDER columnDouble​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column double.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnDouble

      public TABLE_BUILDER columnDouble​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column double.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnDouble

      public TABLE_BUILDER columnDouble​(String name, Boolean isPrimaryKey)
      Column double.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnDouble

      public TABLE_BUILDER columnDouble​(String name)
      Column double.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnBoolean

      public TABLE_BUILDER columnBoolean​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String... args)
      Column boolean.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnBoolean

      public TABLE_BUILDER columnBoolean​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, String args)
      Column boolean.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      args - the args
      Returns:
      the creates the table builder
    • columnBoolean

      public TABLE_BUILDER columnBoolean​(String name, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column boolean.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnBoolean

      public TABLE_BUILDER columnBoolean​(String name, Boolean isPrimaryKey, Boolean isNullable)
      Column boolean.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnBoolean

      public TABLE_BUILDER columnBoolean​(String name, Boolean isPrimaryKey)
      Column boolean.
      Parameters:
      name - the name
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnBoolean

      public TABLE_BUILDER columnBoolean​(String name)
      Column boolean.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnBlob

      public TABLE_BUILDER columnBlob​(String name, Boolean isNullable, String... args)
      Column blob.
      Parameters:
      name - the name
      isNullable - the is nullable
      args - the args
      Returns:
      the creates the table builder
    • columnBlob

      public TABLE_BUILDER columnBlob​(String name, Boolean isNullable, String args)
      Column blob.
      Parameters:
      name - the name
      isNullable - the is nullable
      args - the args
      Returns:
      the creates the table builder
    • columnBlob

      public TABLE_BUILDER columnBlob​(String name, Boolean isNullable)
      Column blob.
      Parameters:
      name - the name
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnBlob

      public TABLE_BUILDER columnBlob​(String name)
      Column blob.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • columnDecimal

      public TABLE_BUILDER columnDecimal​(String name, int precision, int scale, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String... args)
      Column decimal.
      Parameters:
      name - the name
      precision - the precision
      scale - the scale
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnDecimal

      public TABLE_BUILDER columnDecimal​(String name, int precision, int scale, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique, Boolean isIdentity, String args)
      Column decimal.
      Parameters:
      name - the name
      precision - the precision
      scale - the scale
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      isIdentity - the is identity
      args - the args
      Returns:
      the creates the table builder
    • columnDecimal

      public TABLE_BUILDER columnDecimal​(String name, int precision, int scale, Boolean isPrimaryKey, Boolean isNullable, Boolean isUnique)
      Column decimal.
      Parameters:
      name - the name
      precision - the precision
      scale - the scale
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      isUnique - the is unique
      Returns:
      the creates the table builder
    • columnDecimal

      public TABLE_BUILDER columnDecimal​(String name, int precision, int scale, Boolean isPrimaryKey, Boolean isNullable)
      Column decimal.
      Parameters:
      name - the name
      precision - the precision
      scale - the scale
      isPrimaryKey - the is primary key
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnDecimal

      public TABLE_BUILDER columnDecimal​(String name, int precision, int scale, Boolean isPrimaryKey)
      Column decimal.
      Parameters:
      name - the name
      precision - the precision
      scale - the scale
      isPrimaryKey - the is primary key
      Returns:
      the creates the table builder
    • columnDecimal

      public TABLE_BUILDER columnDecimal​(String name, int precision, int scale)
      Column decimal.
      Parameters:
      name - the name
      precision - the precision
      scale - the scale
      Returns:
      the creates the table builder
    • columnBit

      public TABLE_BUILDER columnBit​(String name, Boolean isNullable, String... args)
      Column bit.
      Parameters:
      name - the name
      isNullable - the is nullable
      args - the args
      Returns:
      the creates the table builder
    • columnBit

      public TABLE_BUILDER columnBit​(String name, Boolean isNullable, String args)
      Column bit.
      Parameters:
      name - the name
      isNullable - the is nullable
      args - the args
      Returns:
      the creates the table builder
    • columnBit

      public TABLE_BUILDER columnBit​(String name, Boolean isNullable)
      Column bit.
      Parameters:
      name - the name
      isNullable - the is nullable
      Returns:
      the creates the table builder
    • columnBit

      public TABLE_BUILDER columnBit​(String name)
      Column bit.
      Parameters:
      name - the name
      Returns:
      the creates the table builder
    • generateTable

      protected void generateTable​(StringBuilder sql)
      Generate table.
      Parameters:
      sql - the sql
    • generateColumns

      protected void generateColumns​(StringBuilder sql)
      Generate columns.
      Parameters:
      sql - the sql
    • generateColumnNamesForDrop

      protected void generateColumnNamesForDrop​(StringBuilder sql)
      Generate column names.
      Parameters:
      sql - the sql
    • traverseColumns

      protected String traverseColumns()
      Traverse columns.
      Returns:
      the string
    • traverseColumnNamesForDrop

      protected String traverseColumnNamesForDrop()
      Traverse columns.
      Returns:
      the string
    • traverseNames

      protected String traverseNames​(Set<String> names)
      Traverse column names.
      Parameters:
      names - the columns
      Returns:
      the string
    • splitValues

      protected String[] splitValues​(String columns)
      Split values.
      Parameters:
      columns - the columns
      Returns:
      the string[]