|
SAP NetWeaver 7.31 Enterprise Portal (SP01) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExecution
The base interface for execution of operations defined in the language package.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 execute
ExecutionException
ConnectorException
IRecordSet 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 object
ConnectorException
boolean 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
void close()
throws ConnectorException
ConnectorException
void cancel()
throws ConnectorException
ConnectorException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
-
|
EP-CON-CF
|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
default
|
EP-CON-CF
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/connectivityfw/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP01) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||