Class GridSqlAlterTableAddColumn


  • public class GridSqlAlterTableAddColumn
    extends GridSqlStatement
    ALTER TABLE ADD COLUMN command data holder.
    • Constructor Detail

      • GridSqlAlterTableAddColumn

        public GridSqlAlterTableAddColumn()
    • Method Detail

      • columns

        public GridSqlColumn[] columns()
        Returns:
        Columns to add.
      • columns

        public void columns​(GridSqlColumn[] cols)
        Parameters:
        cols - Columns to add.
      • ifNotExists

        public boolean ifNotExists()
        Returns:
        Quietly abort this command if column exists (honored only in single column case).
      • ifNotExists

        public void ifNotExists​(boolean ifNotExists)
        Parameters:
        ifNotExists - Quietly abort this command if column exists (honored only in single column case).
      • ifTableExists

        public boolean ifTableExists()
        Returns:
        Quietly abort this command if target table does not exist.
      • ifTableExists

        public void ifTableExists​(boolean ifTblExists)
        Parameters:
        ifTblExists - Quietly abort this command if target table does not exist.
      • tableName

        public String tableName()
        Returns:
        Target table name.
      • tableName

        public void tableName​(String tblName)
        Parameters:
        tblName - Target table name.
      • schemaName

        public String schemaName()
        Returns:
        Schema name.
      • schemaName

        public void schemaName​(String schemaName)
        Parameters:
        schemaName - Schema name.