public interface MongoCursorDecorator<T> extends com.mongodb.client.MongoCursor<T>, MongockIterator<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
com.mongodb.client.MongoCursor<T> |
getImpl() |
com.github.cloudyrock.mongock.driver.api.lock.guard.invoker.LockGuardInvoker |
getInvoker() |
default com.mongodb.ServerAddress |
getServerAddress() |
default com.mongodb.ServerCursor |
getServerCursor() |
default boolean |
hasNext() |
default T |
next() |
default T |
tryNext() |
forEachRemaining, removecom.mongodb.client.MongoCursor<T> getImpl()
getImpl in interface MongockIterator<T>com.github.cloudyrock.mongock.driver.api.lock.guard.invoker.LockGuardInvoker getInvoker()
getInvoker in interface MongockIterator<T>default void close()
close in interface AutoCloseableclose in interface Closeableclose in interface com.mongodb.client.MongoCursor<T>default boolean hasNext()
default T next()
default com.mongodb.ServerCursor getServerCursor()
getServerCursor in interface com.mongodb.client.MongoCursor<T>default com.mongodb.ServerAddress getServerAddress()
getServerAddress in interface com.mongodb.client.MongoCursor<T>Copyright © 2021. All rights reserved.