For queries that return a large number of objects some feature sources support improving performance by setting fetch size in order to reduce the number of database server round trips required to satisfy the selection criteria. Providers that do not use a fetch size will ignore the fetch size parameter. This does not affect the actual results of queries as it is a performance tuning parameter.
.NET Syntax
void SetFetchSize(int fetchSize);
|
Java Syntax
void SetFetchSize(int fetchSize);
|
PHP Syntax
void SetFetchSize(int fetchSize);
|
- Parameters:
-
fetchSize | (int) The fetch size of query. The query returns all of query results if setting the fetch size to 0. |
- Returns:
- Returns nothing.