org.teiid.connector.language
Interface IProcedure

All Superinterfaces:
ICommand, ILanguageObject, IMetadataReference<Procedure>

public interface IProcedure
extends ICommand, IMetadataReference<Procedure>

Represents a procedural execution (such as a stored procedure).


Method Summary
 java.util.List<IParameter> getParameters()
          Returns list of the IParameter objects associated with this execution.
 java.lang.String getProcedureName()
          Gets the name of the procedure.
 java.lang.Class<?>[] getResultSetColumnTypes()
          Get the procedure result set column types
 void setProcedureName(java.lang.String name)
          Sets the name of the procedure.
 
Methods inherited from interface org.teiid.connector.language.ILanguageObject
acceptVisitor
 
Methods inherited from interface org.teiid.connector.language.IMetadataReference
getMetadataObject
 

Method Detail

getProcedureName

java.lang.String getProcedureName()
Gets the name of the procedure.

Returns:
the name of the procedure

getParameters

java.util.List<IParameter> getParameters()
Returns list of the IParameter objects associated with this execution. The parameters describe inputs and outputs.

Returns:
List of IParameter

setProcedureName

void setProcedureName(java.lang.String name)
Sets the name of the procedure.

Parameters:
name - The name of the procedure

getResultSetColumnTypes

java.lang.Class<?>[] getResultSetColumnTypes()
                                             throws ConnectorException
Get the procedure result set column types

Returns:
an array containing the types or an empty array if there is no result set parameter
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.