|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The abstract interface for query
| Method Summary | |
void |
cancel()
Cancels the query if it is asynchronous |
int |
retrieveQueryChunkSize()
Returns the maximum rows number in a RecordSet that is received as a return value of the retrieveResultSet() method. |
int |
retrieveQueryTimeOut()
Returns the maximum time to execute the query. |
void |
setQueryChunkSize(int chunkSize)
Sets the maximum rows number in a RecordSet that is received as a return value of the retrieveResultSet() method. |
void |
setQueryTimeOut(int msTimeOut)
Sets the maximum time to execute the query. |
| Method Detail |
public void cancel()
throws ConnectorException
public void setQueryTimeOut(int msTimeOut)
msTimeOut - The time to wait in milliseconds.public int retrieveQueryTimeOut()
public 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 chunkpublic int retrieveQueryChunkSize()
retrieveResultSet() method.
|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||