public class CursorEntity<T> extends BaseEntity implements Iterable<T>
Constructor and Description |
---|
CursorEntity() |
Modifier and Type | Method and Description |
---|---|
T |
get(int index)
Returns the cursor element at position *index*
|
List<String> |
getBindVars() |
int |
getCount() |
long |
getCursorId() |
List<? extends T> |
getResults() |
boolean |
hasMore() |
boolean |
isHasMore() |
Iterator<T> |
iterator() |
void |
setBindVars(List<String> bindVars) |
void |
setCount(int count) |
void |
setCursorId(long cursorId) |
void |
setHasMore(boolean hasMore) |
void |
setResults(List<T> results) |
int |
size()
The size of the cursor results.
|
getCode, getErrorMessage, getErrorNumber, getEtag, getRequestId, getStatusCode, isBatchResponseEntity, isError, isNotFound, isNotModified, isUnauthorized, setCode, setError, setErrorMessage, setErrorNumber, setEtag, setRequestId, setStatusCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int size()
public T get(int index)
index
- public boolean isHasMore()
public boolean hasMore()
public int getCount()
public long getCursorId()
public void setHasMore(boolean hasMore)
public void setCount(int count)
public void setCursorId(long cursorId)
Copyright © 2012–2015 ArangoDB GmbH. All rights reserved.