Class MySqlTable.Builder

    • Method Detail

      • column

        public MySqlTable.Builder column​(String columnName,
                                         String columnType)
        Description copied from class: Table.Builder
        Add a column to the table.
        Overrides:
        column in class Table.Builder
        Parameters:
        columnName - name of the column
        columnType - column data type
        Returns:
        this for fluent programming
      • charset

        public MySqlTable.Builder charset​(String charset)
        Set a custom character set for the new table. Defaults to UTF-8.

        This character set is then used for the whole table down to the columns. Additionally the standard collation rules for this dataset are applied.

        Parameters:
        charset - custom charset, e.g. ascii
        Returns:
        this for fluent programming