Package org.teiid.translator.odata
Class ODataProcedureVisitor
- java.lang.Object
-
- org.teiid.language.visitor.AbstractLanguageVisitor
-
- org.teiid.language.visitor.HierarchyVisitor
-
- org.teiid.translator.odata.ODataProcedureVisitor
-
- All Implemented Interfaces:
LanguageObjectVisitor
public class ODataProcedureVisitor extends HierarchyVisitor
-
-
Field Summary
Fields Modifier and Type Field Description protected ArrayList<TranslatorException>
exceptions
protected ODataExecutionFactory
executionFactory
protected RuntimeMetadata
metadata
-
Constructor Summary
Constructors Constructor Description ODataProcedureVisitor(ODataExecutionFactory executionFactory, RuntimeMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
buildURL()
String
getMethod()
Procedure
getProcedure()
Column[]
getReturnColumns()
String
getReturnEntityTypeName()
String
getReturnType()
Class<?>
getReturnTypeClass()
Table
getTable()
boolean
hasCollectionReturn()
boolean
isReturnComplexType()
void
visit(Call obj)
-
Methods inherited from class org.teiid.language.visitor.HierarchyVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Methods inherited from class org.teiid.language.visitor.AbstractLanguageVisitor
visit, visit, visit, visit, visit, visit, visit, visitNode, visitNodes, visitNodes
-
-
-
-
Field Detail
-
executionFactory
protected ODataExecutionFactory executionFactory
-
metadata
protected RuntimeMetadata metadata
-
exceptions
protected ArrayList<TranslatorException> exceptions
-
-
Constructor Detail
-
ODataProcedureVisitor
public ODataProcedureVisitor(ODataExecutionFactory executionFactory, RuntimeMetadata metadata)
-
-
Method Detail
-
visit
public void visit(Call obj)
- Specified by:
visit
in interfaceLanguageObjectVisitor
- Overrides:
visit
in classHierarchyVisitor
-
buildURL
public String buildURL()
-
getMethod
public String getMethod()
-
getReturnEntityTypeName
public String getReturnEntityTypeName()
-
getTable
public Table getTable()
-
hasCollectionReturn
public boolean hasCollectionReturn()
-
getReturnColumns
public Column[] getReturnColumns()
-
isReturnComplexType
public boolean isReturnComplexType()
-
getProcedure
public Procedure getProcedure()
-
getReturnType
public String getReturnType()
-
getReturnTypeClass
public Class<?> getReturnTypeClass()
-
-