Package org.h2.command.ddl
Class AlterTable
java.lang.Object
org.h2.command.Prepared
org.h2.command.ddl.DefineCommand
org.h2.command.ddl.SchemaCommand
org.h2.command.ddl.AlterTable
- Direct Known Subclasses:
AlterTableAddConstraint,AlterTableDropConstraint,AlterTableRename,AlterTableRenameColumn,AlterTableRenameConstraint
The base class for ALTER TABLE commands.
-
Field Summary
FieldsFields inherited from class org.h2.command.ddl.DefineCommand
transactionalFields inherited from class org.h2.command.Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidsetIfTableExists(boolean b) final voidsetTableName(String tableName) final longupdate()Execute the statement.(package private) abstract longMethods inherited from class org.h2.command.ddl.SchemaCommand
getSchemaMethods inherited from class org.h2.command.ddl.DefineCommand
isReadOnly, isTransactional, queryMeta, setTransactionalMethods inherited from class org.h2.command.Prepared
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, getType, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, toString
-
Field Details
-
tableName
String tableName -
ifTableExists
boolean ifTableExists
-
-
Constructor Details
-
AlterTable
AlterTable(SessionLocal session, Schema schema)
-
-
Method Details