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:
AlterTable
,AlterTableSet
,CommandWithColumns
,CreateAggregate
,CreateFunctionAlias
,CreateIndex
,CreateLinkedTable
,CreateTrigger
,DropIndex
,DropTrigger
,DropView
,SchemaOwnerCommand
This class represents a non-transaction statement that involves a schema.
-
Field Summary
FieldsFields inherited from class org.h2.command.ddl.DefineCommand
transactional
Fields 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, isTransactional, queryMeta, setTransactional
Methods 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, update
-
Field Details
-
schema
-
-
Constructor Details
-
SchemaCommand
Create a new command.- Parameters:
session
- the sessionschema
- the schema
-
-
Method Details
-
getSchema
Get the schema- Returns:
- the schema
-