public interface ResultOrRows
A type that contains either a 
Result, an update count, or an
 exception.- Author:
- Lukas Eder
- 
Method SummaryModifier and TypeMethodDescriptionThe exception if applicable ornullif there was no exception.result()The result ornullif there was no result.introws()The update count if applicable, or the number of rows inresult().longThe update count if applicable, or the number of rows inresult().
- 
Method Details- 
resultThe result ornullif there was no result.- See Also:
 
- 
rowsint rows()The update count if applicable, or the number of rows inresult().- See Also:
 
- 
rowsLargelong rowsLarge()The update count if applicable, or the number of rows inresult().This is equivalent to rows(), except that it can fetch a larger update count if the underlying JDBC driver implementsPreparedStatement.executeLargeUpdate().- See Also:
 
- 
exceptionDataAccessException exception()The exception if applicable ornullif there was no exception.Exceptions are made available through this API only if Settings.getThrowExceptions()is set toThrowExceptions.THROW_NONE. In all other cases, a batch execution is aborted and exceptions are thrown as ordinary Java exceptions.
 
-