Class SqlAlterTableCommand

  • All Implemented Interfaces:
    SqlCommand

    public class SqlAlterTableCommand
    extends Object
    implements SqlCommand
    ALTER TABLE command.
    • Constructor Detail

      • SqlAlterTableCommand

        public SqlAlterTableCommand()
        Default constructor.
      • SqlAlterTableCommand

        public SqlAlterTableCommand​(String schemaName,
                                    String tblName,
                                    boolean ifExists,
                                    boolean logging)
        Parameters:
        schemaName - Schema name.
        tblName - Table name.
        ifExists - If exists clause.
        logging - LOGGING/NOLOGGING.
    • Method Detail

      • schemaName

        public void schemaName​(String schemaName)
        Specified by:
        schemaName in interface SqlCommand
        Parameters:
        schemaName - Schema name.
      • tableName

        public String tableName()
        Returns:
        Table name.
      • logging

        @Nullable
        public @Nullable Boolean logging()
        Returns:
        Logging status or null if no changes to logging is requested.