Class SynchronizedResultIterator<T>
java.lang.Object
io.trino.plugin.raptor.legacy.util.SynchronizedResultIterator<T>
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<T>,org.jdbi.v3.core.result.ResultIterator<T>
public class SynchronizedResultIterator<T>
extends Object
implements org.jdbi.v3.core.result.ResultIterator<T>
-
Constructor Summary
ConstructorsConstructorDescriptionSynchronizedResultIterator(org.jdbi.v3.core.result.ResultIterator<T> iterator) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.result.ResultIterator
forEachRemaining
-
Constructor Details
-
SynchronizedResultIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.jdbi.v3.core.result.ResultIterator<T>
-
getContext
public org.jdbi.v3.core.statement.StatementContext getContext()- Specified by:
getContextin interfaceorg.jdbi.v3.core.result.ResultIterator<T>
-