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

public Class PrepareProcedure

extends DefineCommand
Class Inheritance
Imports
java.util.ArrayList, org.h2.command.CommandInterface, .Prepared, org.h2.engine.Procedure, .SessionLocal, org.h2.expression.Parameter

This class represents the statement PREPARE

Field Summary

Modifier and TypeField and Description
private Prepared
private String
Inherited from org.h2.command.ddl.DefineCommand:
transactional

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
checkParameters()

Overrides org.h2.command.Prepared.checkParameters.

Check if all parameters have been set.

public ArrayList<Parameter>
getParameters()

Overrides org.h2.command.Prepared.getParameters.

Get the parameter list.

public int
getType()

Implements abstract org.h2.command.Prepared.getType.

Get the command type as defined in CommandInterface

public void
public void
public long
update()

Overrides org.h2.command.Prepared.update.

Execute the statement.

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

Field Detail

preparedback to summary
private Prepared prepared
procedureNameback to summary
private String procedureName

Constructor Detail

PrepareProcedureback to summary
public PrepareProcedure(SessionLocal session)

Method Detail

checkParametersback to summary
public void checkParameters()

Overrides org.h2.command.Prepared.checkParameters.

Doc from org.h2.command.Prepared.checkParameters.

Check if all parameters have been set.

Annotations
@Override
getParametersback to summary
public ArrayList<Parameter> getParameters()

Overrides org.h2.command.Prepared.getParameters.

Doc from org.h2.command.Prepared.getParameters.

Get the parameter list.

Returns:ArrayList<Parameter>

the parameter list

Annotations
@Override
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
setPreparedback to summary
public void setPrepared(Prepared prep)
setProcedureNameback to summary
public void setProcedureName(String name)
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