public abstract class SoapRemoteFunctionQueryExecutor<QueryT extends AbstractRemoteFunctionQuery<QueryT,QueryResultT>,QueryResultT extends AbstractRemoteFunctionQueryResult<QueryT,QueryResultT>> extends AbstractQueryExecutor<QueryT,QueryResultT>
AbstractQueryExecutor
for remote function query instances that a SOAP-based protocol.DEFAULT_LONG_RUNNING_REQUEST_THRESHOLD, MAX_UNCOMPRESSED_PAYLOAD_LENGTH
Constructor and Description |
---|
SoapRemoteFunctionQueryExecutor(QuerySerializer<QueryT,QueryResultT> querySerializer) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
commit(ErpConfigContext configContext)
Commits the remote function call.
|
QueryResultT |
execute(ErpConfigContext configContext,
QueryT query)
Executes a query against an SAP S/4HANA system.
|
protected abstract void |
rollback(ErpConfigContext configContext)
Rolls back a failed remote function call.
|
appendQueryParam, deserializeQuery, executeQuery, executeRequest, getBodyAsCompressedEntity, getMeasurements, getNonSensitiveHeadersAsString, getQueryExecutionFailedMessage, getRequestBody, getRequestHeaders, getRequestMethod, getRequestUri, handleBadGateway, handleForbidden, handleHttpError, handleHttpStatus, handleInternalServerError, handleServiceUnavailableError, handleUnauthorized, logReadAccessAttempt, newRequest, recordExecutionDuration, serializeQuery
public SoapRemoteFunctionQueryExecutor(QuerySerializer<QueryT,QueryResultT> querySerializer)
protected abstract void commit(ErpConfigContext configContext) throws QuerySerializationException, QueryExecutionException
configContext
- The current ErpConfigContext
.QuerySerializationException
- If there is an issue during query serialization.QueryExecutionException
- If there is an issue during query execution.protected abstract void rollback(ErpConfigContext configContext) throws QuerySerializationException, QueryExecutionException
configContext
- The current ErpConfigContext
.QuerySerializationException
- If there is an issue during query serialization.QueryExecutionException
- If there is an issue during query execution.@Nonnull @NonNull public QueryResultT execute(ErpConfigContext configContext, QueryT query) throws QuerySerializationException, QueryExecutionException
configContext
- The ErpConfigContext
to be used for execution.query
- The subclass of Query
to execute.QuerySerializationException
- If there is an issue while serializing the query.QueryExecutionException
- If there is an issue while executing the query.Copyright © 2018 SAP SE. All rights reserved.