public final void ensureRowsComplete ( ) throws SnowflakeSQLException { // Check that all the rows have been decoded, raise an error if not if ( rowCount != currentRow ) { throw new SnowflakeSQLException ( SqlState . INTERNAL_ERROR , ErrorCode . INTERNAL_ERROR . getMessageCode ( ) , "Exception: expected " + rowCount + " rows and received " + currentRow ) ; } }
Checks that all data has been added after parsing .