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

public Class AlterDomainDropConstraint

extends AlterDomain
Class Inheritance
Imports
org.h2.api.ErrorCode, org.h2.command.CommandInterface, org.h2.constraint.Constraint, .Constraint.Type, .ConstraintDomain, org.h2.engine.SessionLocal, org.h2.message.DbException, org.h2.schema.Domain, .Schema

This class represents the statement ALTER DOMAIN DROP CONSTRAINT

Field Summary

Modifier and TypeField and Description
private String
private final boolean
Inherited from org.h2.command.ddl.AlterDomain:
domainNameifDomainExists

Constructor Summary

AccessConstructor and Description
public
AlterDomainDropConstraint(SessionLocal session, Schema schema, boolean ifConstraintExists)

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
pack-priv long
update(Schema schema, Domain domain)

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

Inherited from org.h2.command.ddl.AlterDomain:
forAllDependenciessetDomainNamesetIfDomainExistsupdate

Field Detail

constraintNameback to summary
private String constraintName
ifConstraintExistsback to summary
private final boolean ifConstraintExists

Constructor Detail

AlterDomainDropConstraintback to summary
public AlterDomainDropConstraint(SessionLocal session, Schema schema, boolean ifConstraintExists)

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
setConstraintNameback to summary
public void setConstraintName(String string)
updateback to summary
pack-priv long update(Schema schema, Domain domain)

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

Annotations
@Override