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

public Class CreateSequence

extends SchemaOwnerCommand
Class Inheritance
Imports
org.h2.api.ErrorCode, org.h2.command.CommandInterface, org.h2.engine.Database, .SessionLocal, org.h2.message.DbException, org.h2.schema.Schema, .Sequence

This class represents the statement CREATE SEQUENCE.

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private SequenceOptions
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getType()

Implements abstract org.h2.command.Prepared.getType.

Get the command type as defined in CommandInterface

public void
setBelongsToTable(boolean belongsToTable)

public void
setIfNotExists(boolean ifNotExists)

public void
public void
setSequenceName(String sequenceName)

pack-priv long
Inherited from org.h2.command.ddl.SchemaOwnerCommand:
update

Field Detail

belongsToTableback to summary
private boolean belongsToTable
ifNotExistsback to summary
private boolean ifNotExists
optionsback to summary
private SequenceOptions options
sequenceNameback to summary
private String sequenceName

Constructor Detail

CreateSequenceback to summary
public CreateSequence(SessionLocal session, Schema schema)

Method Detail

getTypeback to summary
public int getType()

Implements abstract org.h2.command.Prepared.getType.

Doc from org.h2.command.Prepared.getType.

Get the command type as defined in CommandInterface

Returns:int

the statement type

Annotations
@Override
setBelongsToTableback to summary
public void setBelongsToTable(boolean belongsToTable)
setIfNotExistsback to summary
public void setIfNotExists(boolean ifNotExists)
setOptionsback to summary
public void setOptions(SequenceOptions options)
setSequenceNameback to summary
public void setSequenceName(String sequenceName)
updateback to summary
pack-priv long update(Schema schema)

Implements abstract org.h2.command.ddl.SchemaOwnerCommand.update.

Annotations
@Override