Package nl.cwi.monetdb.embedded.tables
Interface IMonetDBTableBaseIterator
- All Known Subinterfaces:
IMonetDBTableCursor
public interface IMonetDBTableBaseIterator
The base interface for iterating a MonetDB Table. The use can specify which rows to iterate in this interface.
- Author:
- Pedro Ferreira
-
Method Summary
Modifier and Type Method Description intgetFirstRowToIterate()Specify the first row in the table to iterate starting from 0.intgetLastRowToIterate()Specify the last row in the table to iterate.
-
Method Details
-
getFirstRowToIterate
int getFirstRowToIterate()Specify the first row in the table to iterate starting from 0. If a lower number is provided, then the iteration will start on the first row.- Returns:
- The first row in the table to iterate
-
getLastRowToIterate
int getLastRowToIterate()Specify the last row in the table to iterate. If a number larger than the number of rows is provided, then the iteration will end on the last row of the table.- Returns:
- The last row in the table to iterate
-