Top Description Fields Constructors Methods
org.h2.command.ddl

public abstract Class SchemaCommand

extends DefineCommand
Class Inheritance
Known Direct Subclasses
org.h2.command.ddl.SchemaOwnerCommand, org.h2.command.dml.AlterTableSet, org.h2.command.ddl.AlterTable, org.h2.command.ddl.CommandWithColumns, org.h2.command.ddl.CreateAggregate, org.h2.command.ddl.CreateFunctionAlias, org.h2.command.ddl.CreateIndex, org.h2.command.ddl.CreateLinkedTable, org.h2.command.ddl.CreateTrigger, org.h2.command.ddl.DropIndex, org.h2.command.ddl.DropMaterializedView, org.h2.command.ddl.DropTrigger, org.h2.command.ddl.DropView
Imports
org.h2.engine.SessionLocal, org.h2.schema.Schema

This class represents a non-transaction statement that involves a schema.

Field Summary

Modifier and TypeField and Description
private final Schema
Inherited from org.h2.command.ddl.DefineCommand:
transactional

Constructor Summary

AccessConstructor and Description
public
SchemaCommand(SessionLocal
the session
session
,
Schema
the schema
schema
)

Create a new command.

Method Summary

Modifier and TypeMethod and Description
protected final Schema

Returns:

the schema
getSchema
()

Get the schema

Inherited from org.h2.command.ddl.DefineCommand:
isReadOnlyisRetryableisTransactionalqueryMetasetTransactional

Field Detail

schemaback to summary
private final Schema schema

Constructor Detail

SchemaCommandback to summary
public SchemaCommand(SessionLocal session, Schema schema)

Create a new command.

Parameters
session:SessionLocal

the session

schema:Schema

the schema

Method Detail

getSchemaback to summary
protected final Schema getSchema()

Get the schema

Returns:Schema

the schema