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() |
Map<String,Object> |
getExtra() |
int |
getFullCount() |
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 |
setExtra(Map<String,Object> extra) |
void |
setFullCount(int count) |
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 getFullCount()
public int getCount()
public long getCursorId()
public void setHasMore(boolean hasMore)
public void setFullCount(int count)
public void setCount(int count)
public void setCursorId(long cursorId)
Copyright © 2012–2015 ArangoDB GmbH. All rights reserved.