public interface QueryExecutor<QueryT extends Query<QueryT,QueryResultT>,QueryResultT extends QueryResult<QueryT,QueryResultT>>
Modifier and Type | Method and Description |
---|---|
QueryResultT |
execute(ErpConfigContext configContext,
QueryT query)
Executes a query against an SAP S/4HANA system.
|
@Nonnull QueryResultT execute(@Nonnull ErpConfigContext configContext, @Nonnull QueryT query) throws QuerySerializationException, QueryExecutionException, DestinationNotFoundException, DestinationAccessException
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.DestinationNotFoundException
- If no destination with the name specified in the ErpConfigContext
can be found.DestinationAccessException
- If there is an issue while accessing destination information.Copyright © 2018 SAP SE. All rights reserved.