public class BaseQueryExecution extends Object
Modifier and Type | Field and Description |
---|---|
protected WSConnection |
connection |
protected ExecutionContext |
executionContext |
protected RuntimeMetadata |
metadata |
protected ODataExecutionFactory |
translator |
Constructor and Description |
---|
BaseQueryExecution(ODataExecutionFactory translator,
ExecutionContext executionContext,
RuntimeMetadata metadata,
WSConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected TranslatorException |
buildError(BinaryWSProcedureExecution execution) |
protected BinaryWSProcedureExecution |
executeDirect(String method,
String uri,
String payload,
Map<String,List<String>> headers) |
protected org.teiid.translator.odata.BaseQueryExecution.ODataEntitiesResponse |
executeWithComplexReturn(String method,
String uri,
String payload,
String complexTypeName,
org.odata4j.edm.EdmDataServices edsMetadata,
String eTag,
javax.ws.rs.core.Response.Status... expectedStatus) |
protected org.teiid.translator.odata.BaseQueryExecution.ODataEntitiesResponse |
executeWithReturnEntity(String method,
String uri,
String payload,
String entityTable,
org.odata4j.edm.EdmDataServices edsMetadata,
String eTag,
javax.ws.rs.core.Response.Status... expectedStatus) |
protected static org.odata4j.core.ODataVersion |
getDataServiceVersion(String headerValue) |
protected Map<String,List<String>> |
getDefaultHeaders() |
protected org.odata4j.format.Feed |
parse(Blob blob,
org.odata4j.core.ODataVersion version,
String entityTable,
org.odata4j.edm.EdmDataServices edsMetadata) |
protected WSConnection connection
protected ODataExecutionFactory translator
protected RuntimeMetadata metadata
protected ExecutionContext executionContext
public BaseQueryExecution(ODataExecutionFactory translator, ExecutionContext executionContext, RuntimeMetadata metadata, WSConnection connection)
protected org.odata4j.format.Feed parse(Blob blob, org.odata4j.core.ODataVersion version, String entityTable, org.odata4j.edm.EdmDataServices edsMetadata) throws TranslatorException
TranslatorException
protected static org.odata4j.core.ODataVersion getDataServiceVersion(String headerValue)
protected org.teiid.translator.odata.BaseQueryExecution.ODataEntitiesResponse executeWithReturnEntity(String method, String uri, String payload, String entityTable, org.odata4j.edm.EdmDataServices edsMetadata, String eTag, javax.ws.rs.core.Response.Status... expectedStatus) throws TranslatorException
TranslatorException
protected org.teiid.translator.odata.BaseQueryExecution.ODataEntitiesResponse executeWithComplexReturn(String method, String uri, String payload, String complexTypeName, org.odata4j.edm.EdmDataServices edsMetadata, String eTag, javax.ws.rs.core.Response.Status... expectedStatus) throws TranslatorException
TranslatorException
protected TranslatorException buildError(BinaryWSProcedureExecution execution)
protected BinaryWSProcedureExecution executeDirect(String method, String uri, String payload, Map<String,List<String>> headers) throws TranslatorException
TranslatorException
Copyright © 2017 JBoss by Red Hat. All rights reserved.