Package org.h2.command.ddl
Class SchemaCommand
java.lang.Object
org.h2.command.Prepared
org.h2.command.ddl.DefineCommand
org.h2.command.ddl.SchemaCommand
- Direct Known Subclasses:
AlterDomain,AlterSequence,AlterTable,AlterTableSet,CommandWithColumns,CreateAggregate,CreateConstant,CreateDomain,CreateFunctionAlias,CreateIndex,CreateLinkedTable,CreateMaterializedView,CreateSequence,CreateSynonym,CreateTrigger,CreateView,DropAggregate,DropConstant,DropFunctionAlias,DropIndex,DropMaterializedView,DropSequence,DropSynonym,DropTrigger,DropView,RefreshMaterializedView
This class represents a non-transaction statement that involves a schema.
-
Field Summary
Fields 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
Methods inherited from class org.h2.command.ddl.DefineCommand
isReadOnly, isRetryable, isTransactional, queryMeta, setTransactionalMethods inherited from class org.h2.command.Prepared
checkCanceled, checkParameters, collectDependencies, getCurrentRowNumber, getDatabase, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, getType, isCacheable, isQuery, isWithParamValues, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toString, update
-
Constructor Details
-
SchemaCommand
Create a new command.- Parameters:
session- the sessionschema- the schema
-
-
Method Details
-
getSchema
Get the schema- Returns:
- the schema
-