8.3.19 getLargeMaxRows()
- Organization of this subsection
(1) Function
This method specifies the maximum number of rows that can be stored in a ResultSet object created from this Statement object, as a long value. Any rows in excess of this value are not stored in the ResultSet object. You will not be notified that these rows have not been stored.
If you specify a value in the setLargeMaxRows method that exceeds Integer.MAX_VALUE, use the getLargeMaxRows method instead of getMaxRows. When you use the getMaxRows method, if the value of Integer.MAX_VALUE is exceeded, 0 is returned.
(2) Format
public synchronized long getLargeMaxRows() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns the maximum number of rows that can be stored in a ResultSet object created from this Statement object, as a long value. The value it returns is the value set by the setMaxRows or the setLargeMaxRows method. A return value of 0 means that a maximum number of rows has not been set.
(5) Exceptions
For details about exceptions, see (5) Exceptions in 8.3.22 getMaxRows().