Package org.teiid.translator.swagger
Class BaseQueryExecution
- java.lang.Object
-
- org.teiid.translator.swagger.BaseQueryExecution
-
- Direct Known Subclasses:
SwaggerProcedureExecution
public class BaseQueryExecution extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected WSConnection
connection
protected ExecutionContext
executionContext
protected RuntimeMetadata
metadata
protected ExecutionFactory
translator
-
Constructor Summary
Constructors Constructor Description BaseQueryExecution(ExecutionFactory translator, ExecutionContext executionContext, RuntimeMetadata metadata, WSConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryWSProcedureExecution
buildInvokeHTTP(String method, String uri, Object payload, Map<String,List<String>> headers)
-
-
-
Field Detail
-
connection
protected WSConnection connection
-
translator
protected ExecutionFactory translator
-
metadata
protected RuntimeMetadata metadata
-
executionContext
protected ExecutionContext executionContext
-
-
Constructor Detail
-
BaseQueryExecution
public BaseQueryExecution(ExecutionFactory translator, ExecutionContext executionContext, RuntimeMetadata metadata, WSConnection connection)
-
-
Method Detail
-
buildInvokeHTTP
public BinaryWSProcedureExecution buildInvokeHTTP(String method, String uri, Object payload, Map<String,List<String>> headers) throws TranslatorException
- Throws:
TranslatorException
-
-