Package org.teiid.language
Class Call
- java.lang.Object
-
- org.teiid.language.BaseLanguageObject
-
- org.teiid.language.Call
-
- All Implemented Interfaces:
Command
,LanguageObject
,MetadataReference<Procedure>
,TableReference
public class Call extends BaseLanguageObject implements Command, MetadataReference<Procedure>, TableReference
Represents a procedural execution (such as a stored procedure).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageObjectVisitor visitor)
List<Argument>
getArguments()
Procedure
getMetadataObject()
String
getProcedureName()
Class<?>[]
getResultSetColumnTypes()
ProcedureParameter
getReturnParameter()
Class<?>
getReturnType()
Get the return typeboolean
isTableReference()
void
setArguments(List<Argument> parameters)
void
setProcedureName(String name)
void
setReturnType(Class<?> returnType)
void
setTableReference(boolean tableReference)
-
Methods inherited from class org.teiid.language.BaseLanguageObject
toString
-
-
-
-
Method Detail
-
getReturnType
public Class<?> getReturnType()
Get the return type- Returns:
- the return parameter type or null if not expecting a return value
-
setReturnType
public void setReturnType(Class<?> returnType)
-
getProcedureName
public String getProcedureName()
-
acceptVisitor
public void acceptVisitor(LanguageObjectVisitor visitor)
- Specified by:
acceptVisitor
in interfaceLanguageObject
-
setProcedureName
public void setProcedureName(String name)
-
getMetadataObject
public Procedure getMetadataObject()
- Specified by:
getMetadataObject
in interfaceMetadataReference<Procedure>
-
getReturnParameter
public ProcedureParameter getReturnParameter()
-
getResultSetColumnTypes
public Class<?>[] getResultSetColumnTypes()
- Returns:
- the result set types or a zero length array if no result set is returned
-
isTableReference
public boolean isTableReference()
-
setTableReference
public void setTableReference(boolean tableReference)
-
-