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

public Class CreateFunctionAlias

extends SchemaCommand
Class Inheritance
Imports
org.h2.api.ErrorCode, org.h2.command.CommandInterface, org.h2.engine.Database, .SessionLocal, org.h2.message.DbException, org.h2.schema.FunctionAlias, .Schema, org.h2.util.StringUtils

This class represents the statement CREATE ALIAS

Field Summary

Modifier and TypeField and Description
private String
private boolean
private boolean
private boolean
private String
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
public void
setDeterministic(boolean deterministic)

public void
setForce(boolean force)

public void
setIfNotExists(boolean ifNotExists)

public void
setJavaClassMethod(String
the qualified method name
method
)

Set the qualified method name after removing whitespace.

public void
setSource(String source)

public long
update()

Overrides org.h2.command.Prepared.update.

Execute the statement.

Inherited from org.h2.command.ddl.SchemaCommand:
getSchema

Field Detail

aliasNameback to summary
private String aliasName
deterministicback to summary
private boolean deterministic
forceback to summary
private boolean force
ifNotExistsback to summary
private boolean ifNotExists
javaClassMethodback to summary
private String javaClassMethod
sourceback to summary
private String source

Constructor Detail

CreateFunctionAliasback to summary
public CreateFunctionAlias(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
setAliasNameback to summary
public void setAliasName(String name)
setDeterministicback to summary
public void setDeterministic(boolean deterministic)
setForceback to summary
public void setForce(boolean force)
setIfNotExistsback to summary
public void setIfNotExists(boolean ifNotExists)
setJavaClassMethodback to summary
public void setJavaClassMethod(String method)

Set the qualified method name after removing whitespace.

Parameters
method:String

the qualified method name

setSourceback to summary
public void setSource(String source)
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