Class SqlAlterTableCommand
- java.lang.Object
-
- org.apache.ignite.internal.sql.command.SqlAlterTableCommand
-
- All Implemented Interfaces:
SqlCommand
public class SqlAlterTableCommand extends Object implements SqlCommand
ALTER TABLE command.
-
-
Constructor Summary
Constructors Constructor Description SqlAlterTableCommand()Default constructor.SqlAlterTableCommand(String schemaName, String tblName, boolean ifExists, boolean logging)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Booleanlogging()SqlCommandparse(SqlLexer lex)Parse command.StringschemaName()voidschemaName(String schemaName)StringtableName()StringtoString()
-
-
-
Method Detail
-
schemaName
public String schemaName()
- Specified by:
schemaNamein interfaceSqlCommand- Returns:
- Schema name.
-
schemaName
public void schemaName(String schemaName)
- Specified by:
schemaNamein interfaceSqlCommand- Parameters:
schemaName- Schema name.
-
tableName
public String tableName()
- Returns:
- Table name.
-
logging
@Nullable public @Nullable Boolean logging()
- Returns:
- Logging status or
nullif no changes to logging is requested.
-
parse
public SqlCommand parse(SqlLexer lex)
Parse command.- Specified by:
parsein interfaceSqlCommand- Parameters:
lex- Lexer.- Returns:
- This instance.
-
-