Class CreateTableTypeBuilder

All Implemented Interfaces:
ISqlBuilder, ISqlKeywords

public class CreateTableTypeBuilder extends AbstractCreateSqlBuilder
The Create Table Type Builder.
  • Constructor Details

    • CreateTableTypeBuilder

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

    • generate

      public String generate()
      Generate.
      Returns:
      the string
    • column

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

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

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