Package org.jdbi.v3.core.result
Class ResultIterable.ResultIteratorDelegate<T,R> 
java.lang.Object
org.jdbi.v3.core.result.ResultIterable.ResultIteratorDelegate<T,R> 
- Type Parameters:
- T- iterable element type of delegate
- R- returned iterable element type, may be same as delegate's (- T)
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Iterator<R>,- ResultIterator<R>
- Enclosing interface:
- ResultIterable<T>
public abstract static class ResultIterable.ResultIteratorDelegate<T,R> 
extends Object
implements ResultIterator<R>
An implementation of 
ResultIterator that delegates calls
 to the iterator provided in the constructor.- 
Method SummaryModifier and TypeMethodDescriptionfinal voidclose()Close the underlying result set.final StatementContextReturns the currentStatementContext.booleanhasNext()Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.result.ResultIteratorforEachRemaining
- 
Method Details- 
hasNextpublic boolean hasNext()
- 
closepublic final void close()Description copied from interface:ResultIteratorClose the underlying result set.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein interface- ResultIterator<T>
 
- 
getContextDescription copied from interface:ResultIteratorReturns the currentStatementContext.- Specified by:
- getContextin interface- ResultIterator<T>
- Returns:
- the current StatementContext.
 
 
-