Class GridSqlAlterTableDropColumn
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlAlterTableDropColumn
-
public class GridSqlAlterTableDropColumn extends GridSqlStatement
ALTER TABLE DROP COLUMN command data holder.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement
limit
-
-
Constructor Summary
Constructors Constructor Description GridSqlAlterTableDropColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]columns()voidcolumns(String[] cols)StringgetSQL()booleanifExists()voidifExists(boolean ifExists)booleanifTableExists()voidifTableExists(boolean ifTblExists)StringschemaName()voidschemaName(String schemaName)StringtableName()voidtableName(String tblName)
-
-
-
Method Detail
-
columns
public String[] columns()
- Returns:
- Columns to drop.
-
columns
public void columns(String[] cols)
- Parameters:
cols- Columns to drop.
-
ifExists
public boolean ifExists()
- Returns:
- Quietly abort this command if column does not exist (honored only in single column case).
-
ifExists
public void ifExists(boolean ifExists)
- Parameters:
ifExists- Quietly abort this command if column does not exist (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.
-
getSQL
public String getSQL()
- Specified by:
getSQLin classGridSqlStatement- Returns:
- Generate sql.
-
-