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

public Class DropSynonym

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

This class represents the statement DROP SYNONYM

Field Summary

Modifier and TypeField and Description
private boolean
private String

Constructor Summary

AccessConstructor and Description
public
DropSynonym(SessionLocal session, Schema schema)

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
setIfExists(boolean ifExists)

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

Field Detail

ifExistsback to summary
private boolean ifExists
synonymNameback to summary
private String synonymName

Constructor Detail

DropSynonymback to summary
public DropSynonym(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
setIfExistsback to summary
public void setIfExists(boolean ifExists)
setSynonymNameback to summary
public void setSynonymName(String name)
updateback to summary
pack-priv long update(Schema schema)

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

Annotations
@Override