QueryT
- The type of the query to execute.QueryResultT
- The type of the result to return.public class RemoteFunctionQueryExecutor<QueryT extends AbstractRemoteFunctionQuery<QueryT,QueryResultT>,QueryResultT extends AbstractRemoteFunctionQueryResult<QueryT,QueryResultT>> extends Object implements QueryExecutor<QueryT,QueryResultT>
AbstractRemoteFunctionQuery
s.Constructor and Description |
---|
RemoteFunctionQueryExecutor(com.sap.cloud.sdk.s4hana.connectivity.rfc.AbstractTransactionFactory<QueryT,QueryResultT> transactionFactory) |
Modifier and Type | Method and Description |
---|---|
QueryResultT |
execute(ErpConfigContext configContext,
QueryT query)
Executes a query against an SAP S/4HANA system.
|
public RemoteFunctionQueryExecutor(com.sap.cloud.sdk.s4hana.connectivity.rfc.AbstractTransactionFactory<QueryT,QueryResultT> transactionFactory)
@Nonnull public QueryResultT execute(@Nonnull ErpConfigContext configContext, @Nonnull QueryT query) throws QueryExecutionException
QueryExecutor
execute
in interface QueryExecutor<QueryT extends AbstractRemoteFunctionQuery<QueryT,QueryResultT>,QueryResultT extends AbstractRemoteFunctionQueryResult<QueryT,QueryResultT>>
configContext
- The ErpConfigContext
to be used for execution.query
- The subclass of Query
to execute.QueryExecutionException
- If there is an issue while executing the query.Copyright © 2019 SAP SE. All rights reserved.