public class ArangoCursorImpl<T> extends AbstractArangoIterable<T> implements ArangoCursor<T>
| Modifier and Type | Field and Description |
|---|---|
protected ArangoCursorIterator<T> |
iterator |
| Constructor and Description |
|---|
ArangoCursorImpl(com.arangodb.internal.InternalArangoDatabase<?,?> db,
com.arangodb.internal.ArangoCursorExecute execute,
Class<T> type,
CursorEntity result) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
asListRemaining() |
void |
close() |
protected ArangoCursorIterator<T> |
createIterator(ArangoCursor<T> cursor,
com.arangodb.internal.InternalArangoDatabase<?,?> db,
com.arangodb.internal.ArangoCursorExecute execute,
CursorEntity result) |
void |
foreach(Consumer<? super T> action)
Performs the given action for each element of the
ArangoIterable |
Integer |
getCount() |
String |
getId() |
CursorEntity.Stats |
getStats() |
Class<T> |
getType() |
Collection<CursorEntity.Warning> |
getWarnings() |
boolean |
hasNext() |
boolean |
isCached() |
ArangoIterator<T> |
iterator() |
T |
next() |
void |
remove() |
allMatch, anyMatch, collectInto, count, filter, first, map, noneMatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallMatch, anyMatch, collectInto, count, filter, first, map, noneMatchforEach, spliteratorforEachRemainingprotected final ArangoCursorIterator<T> iterator
public ArangoCursorImpl(com.arangodb.internal.InternalArangoDatabase<?,?> db,
com.arangodb.internal.ArangoCursorExecute execute,
Class<T> type,
CursorEntity result)
protected ArangoCursorIterator<T> createIterator(ArangoCursor<T> cursor, com.arangodb.internal.InternalArangoDatabase<?,?> db, com.arangodb.internal.ArangoCursorExecute execute, CursorEntity result)
public String getId()
getId in interface ArangoCursor<T>public Class<T> getType()
getType in interface ArangoCursor<T>public Integer getCount()
getCount in interface ArangoCursor<T>public CursorEntity.Stats getStats()
getStats in interface ArangoCursor<T>public Collection<CursorEntity.Warning> getWarnings()
getWarnings in interface ArangoCursor<T>public boolean isCached()
isCached in interface ArangoCursor<T>public void close()
close in interface Closeableclose in interface AutoCloseablepublic List<T> asListRemaining()
asListRemaining in interface ArangoCursor<T>Listpublic ArangoIterator<T> iterator()
public void foreach(Consumer<? super T> action)
ArangoIterableArangoIterableforeach in interface ArangoIterable<T>action - a action to perform on the elementsCopyright © 2016–2019 ArangoDB GmbH. All rights reserved.