Class Table.Builder

    • Constructor Detail

      • Builder

        public Builder​(DatabaseObjectWriter writer,
                       Schema parentSchema,
                       com.exasol.db.Identifier tableName)
        Create new instance of a builder for a database table.
        Parameters:
        writer - data object writer
        parentSchema - parent schema
        tableName - name of the database table
    • Method Detail

      • column

        public Table.Builder column​(String columnName,
                                    String columnType)
        Add a column to the table.
        Parameters:
        columnName - name of the column
        columnType - column data type
        Returns:
        this for fluent programming
      • build

        public Table build()
        Build a new Table instance.
        Returns:
        new Table instance