GeoEco.Datasets.SelectCursor.SetRowCount

SelectCursor.SetRowCount(rowCount)

Sets the number of rows that this cursor is expected to process.

The row count is only used in progress reporting and is ignored if the reportProgress parameter was False when the cursor was opened. If a row count is provided, the progress reports will include the number of rows remaining and an estimated time of completion. If a row count is not provided, the progress reports will only include the number of rows processed so far.

Typically, if the row count is known ahead of time, you should provide it to the method used to open the cursor. Use SetRowCount() when you want to revise the row count after opening the cursor. Do not decrease the row count to a value smaller than the number of rows processed so far.

Parameters:

rowCount (int) – New row count for this cursor. Minimum value꞉ 0.