public interface IExecution
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
cancels the operation (for asynchronous execution)
|
void |
close()
Releases the execution object.
|
int |
execute(IOperation operation)
Execute the operation after translating it to connector-specific
language
|
int |
getQueryChunkSize()
Returns the maximum rows number in a RecordSet that is received as a
return value of the
retrieveResultSet() method. |
int |
getTimeOut()
Returns the maximum time to execute the operation.
|
boolean |
nextRecordSet()
Moves to the next record set.
|
IRecordSet |
retrieveRecordSet()
Returns the current record set.
|
void |
setQueryChunkSize(int chunkSize)
Sets the maximum rows number in a RecordSet that is received as a return
value of the
retrieveResultSet() method. |
void |
setTimeOut(int msTimeOut)
Sets the maximum time to operation the query.
|
void setTimeOut(int msTimeOut)
msTimeOut - the time to wait in millisecondsint getTimeOut()
void setQueryChunkSize(int chunkSize)
retrieveResultSet() method. The result of an
execution of a query is a record set. In order to be able to control the
number of rows that are retrieved from the query result, set the chunk
size to that number of rows, and use the next() method to
move to the next chunk.chunkSize - the number of rows for each record set chunkint getQueryChunkSize()
retrieveResultSet() method.int execute(IOperation operation) throws ExecutionException, ConnectorException
operation - the operation object to executeConnectorException - if connection is nullExecutionException - if operation not succeededIRecordSet retrieveRecordSet() throws ConnectorException
IRecordSet
is a set of rows (a subset of java.sql.ResultSet). The
number of rows in every record set is determined using the method
setQueryChunkSize(). Subsequent calls to
retrieveRecordSet() return the same record set objectConnectorException - if connection is nullboolean nextRecordSet()
throws ConnectorException
IRecordSet is
a set of rows (a subset of java.sql.ResultSet). The
number of rows in every record set is determined using the method
setQueryChunkSize()ConnectorException - if connection is nullvoid close()
throws ConnectorException
ConnectorException - if connection is nullvoid cancel()
throws ConnectorException
ConnectorException - if connection is null| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/connectivityfw/api
|
api
|
EP-PIN
|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
-
|
EP-CON-CF
|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
default
|
EP-CON-CF
|
Copyright 2021 SAP SE Complete Copyright Notice