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

public Class AlterView

extends DefineCommand
Class Inheritance
Imports
org.h2.command.CommandInterface, org.h2.engine.SessionLocal, org.h2.message.DbException, org.h2.table.TableView

This class represents the statement ALTER VIEW

Field Summary

Modifier and TypeField and Description
private boolean
private TableView
Inherited from org.h2.command.ddl.DefineCommand:
transactional

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

public void
public long
update()

Overrides org.h2.command.Prepared.update.

Execute the statement.

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

Field Detail

ifExistsback to summary
private boolean ifExists
viewback to summary
private TableView view

Constructor Detail

AlterViewback to summary
public AlterView(SessionLocal session)

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 b)
setViewback to summary
public void setView(TableView view)
updateback to summary
public long update()

Overrides org.h2.command.Prepared.update.

Doc from org.h2.command.Prepared.update.

Execute the statement.

Returns:long

the update count

Annotations
@Override