public abstract class EntityIteratorBase
extends java.lang.Object
implements jetbrains.exodus.entitystore.EntityIterator
| Modifier and Type | Field and Description |
|---|---|
static EntityIteratorBase |
EMPTY |
| Modifier | Constructor and Description |
|---|---|
protected |
EntityIteratorBase(@NotNull EntityIterableBase iterable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispose() |
void |
disposeIfShouldBe() |
protected jetbrains.exodus.env.Cursor |
getCursor() |
protected int |
getIndex() |
@NotNull EntityIterableBase |
getIterable() |
@Nullable jetbrains.exodus.entitystore.EntityId |
getLast() |
protected @NotNull jetbrains.exodus.entitystore.QueryCancellingPolicy |
getQueryCancellingPolicy() |
protected PersistentEntityStoreImpl |
getStore() |
boolean |
hasNext() |
protected abstract boolean |
hasNextImpl() |
@Nullable jetbrains.exodus.entitystore.Entity |
next() |
@Nullable jetbrains.exodus.entitystore.EntityId |
nextId() |
protected abstract @Nullable jetbrains.exodus.entitystore.EntityId |
nextIdImpl() |
void |
remove() |
protected void |
setCursor(@NotNull jetbrains.exodus.env.Cursor cursor) |
boolean |
shouldBeDisposed() |
boolean |
skip(int number) |
protected @Nullable jetbrains.exodus.entitystore.iterate.EntityIdSet |
toSet() |
public static final EntityIteratorBase EMPTY
protected EntityIteratorBase(@NotNull
@NotNull EntityIterableBase iterable)
@NotNull public @NotNull EntityIterableBase getIterable()
public final boolean hasNext()
hasNext in interface java.util.Iterator<jetbrains.exodus.entitystore.Entity>@Nullable public @Nullable jetbrains.exodus.entitystore.Entity next()
next in interface java.util.Iterator<jetbrains.exodus.entitystore.Entity>public void remove()
remove in interface java.util.Iterator<jetbrains.exodus.entitystore.Entity>public boolean skip(int number)
skip in interface jetbrains.exodus.entitystore.EntityIterator@Nullable public @Nullable jetbrains.exodus.entitystore.EntityId nextId()
nextId in interface jetbrains.exodus.entitystore.EntityIterator@Nullable public @Nullable jetbrains.exodus.entitystore.EntityId getLast()
public boolean shouldBeDisposed()
shouldBeDisposed in interface jetbrains.exodus.entitystore.EntityIteratorpublic boolean dispose()
dispose in interface jetbrains.exodus.entitystore.EntityIteratorpublic void disposeIfShouldBe()
@NotNull protected @NotNull jetbrains.exodus.entitystore.QueryCancellingPolicy getQueryCancellingPolicy()
protected PersistentEntityStoreImpl getStore()
protected jetbrains.exodus.env.Cursor getCursor()
protected void setCursor(@NotNull
@NotNull jetbrains.exodus.env.Cursor cursor)
protected int getIndex()
@Nullable protected @Nullable jetbrains.exodus.entitystore.iterate.EntityIdSet toSet()
protected abstract boolean hasNextImpl()
@Nullable protected abstract @Nullable jetbrains.exodus.entitystore.EntityId nextIdImpl()