Top Description Fields Constructors Methods
org.h2.bnf.context

public Class DbProcedure

extends Object
Class Inheritance
Imports
java.sql.DatabaseMetaData, .ResultSet, .SQLException, java.util.ArrayList, org.h2.util.Utils

Contains meta data information about a procedure. This class is used by the H2 Console.

Field Summary

Modifier and TypeField and Description
private final String
private DbColumn[]
private final String
private final boolean
private final DbSchema

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The table name.
getName
()

public DbColumn[]

Returns:

The column list.
getParameters
()

public String

Returns:

The quoted table name.
getQuotedName
()

public DbSchema

Returns:

The schema this table belongs to.
getSchema
()

public boolean

Returns:

True if this function return a value
isReturnsResult
()

pack-priv void
readParameters(DatabaseMetaData
the database meta data
meta
)

Read the column for this table from the database meta data.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
parametersback to summary
private DbColumn[] parameters
quotedNameback to summary
private final String quotedName
returnsResultback to summary
private final boolean returnsResult
schemaback to summary
private final DbSchema schema

Constructor Detail

DbProcedureback to summary
public DbProcedure(DbSchema schema, ResultSet rs) throws SQLException

Method Detail

getNameback to summary
public String getName()
Returns:String

The table name.

getParametersback to summary
public DbColumn[] getParameters()
Returns:DbColumn[]

The column list.

getQuotedNameback to summary
public String getQuotedName()
Returns:String

The quoted table name.

getSchemaback to summary
public DbSchema getSchema()
Returns:DbSchema

The schema this table belongs to.

isReturnsResultback to summary
public boolean isReturnsResult()
Returns:boolean

True if this function return a value

readParametersback to summary
pack-priv void readParameters(DatabaseMetaData meta) throws SQLException

Read the column for this table from the database meta data.

Parameters
meta:DatabaseMetaData

the database meta data

Exceptions
SQLException:
on failure