Package org.h2.command.ddl
Class SchemaOwnerCommand
- java.lang.Object
-
- org.h2.command.Prepared
-
- org.h2.command.ddl.DefineCommand
-
- org.h2.command.ddl.SchemaCommand
-
- org.h2.command.ddl.SchemaOwnerCommand
-
- Direct Known Subclasses:
AlterDomain
,AlterSequence
,CreateConstant
,CreateDomain
,CreateSequence
,CreateSynonym
,CreateView
,DropAggregate
,DropConstant
,DropFunctionAlias
,DropSequence
,DropSynonym
abstract class SchemaOwnerCommand extends SchemaCommand
This class represents a non-transaction statement that involves a schema and requires schema owner rights.
-
-
Field Summary
-
Fields 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 Constructor Description SchemaOwnerCommand(SessionLocal session, Schema schema)
Create a new command.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description long
update()
Execute the statement.(package private) abstract long
update(Schema schema)
-
Methods inherited from class org.h2.command.ddl.SchemaCommand
getSchema
-
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
-
-
-
-
Constructor Detail
-
SchemaOwnerCommand
SchemaOwnerCommand(SessionLocal session, Schema schema)
Create a new command.- Parameters:
session
- the sessionschema
- the schema
-
-