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

public Class AlterTableRenameColumn

extends AlterTable
Class Inheritance
Imports
org.h2.command.CommandInterface, org.h2.constraint.ConstraintReferential, org.h2.engine.Database, .DbObject, .SessionLocal, org.h2.schema.Schema, org.h2.table.Column, .Table

This class represents the statement ALTER TABLE ALTER COLUMN RENAME

Field Summary

Modifier and TypeField and Description
private boolean
private String
private String
Inherited from org.h2.command.ddl.AlterTable:
ifTableExiststableName

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 void
public long
Inherited from org.h2.command.ddl.AlterTable:
setIfTableExistssetTableNameupdate

Field Detail

ifExistsback to summary
private boolean ifExists
newNameback to summary
private String newName
oldNameback to summary
private String oldName

Constructor Detail

AlterTableRenameColumnback to summary
public AlterTableRenameColumn(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 b)
setNewColumnNameback to summary
public void setNewColumnName(String newName)
setOldColumnNameback to summary
public void setOldColumnName(String oldName)
updateback to summary
public long update(Table table)

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

Annotations
@Override