public class DefaultAuditBackend.SQLAuditCursorResult extends CursorResult<Iterator<LogEntry>,LogEntry>
| Modifier and Type | Field and Description |
|---|---|
protected QueryBuilder |
builder |
protected boolean |
end |
protected long |
pageNb |
batchSize, cursor, keepAliveSeconds, lastCallTimestamp| Constructor and Description |
|---|
SQLAuditCursorResult(QueryBuilder builder,
int batchSize,
int keepAliveSeconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
CAUTION: if your cursor doesn't implement
Closeable, we just set the field to null |
boolean |
hasNext() |
LogEntry |
next() |
protected void |
runNextPage() |
getBatchSize, getCursor, timedOut, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeprotected final QueryBuilder builder
protected long pageNb
protected boolean end
public SQLAuditCursorResult(QueryBuilder builder, int batchSize, int keepAliveSeconds)
public boolean hasNext()
protected void runNextPage()
public void close()
CursorResultCloseable, we just set the field to nullclose in interface Closeableclose in interface AutoCloseableclose in class CursorResult<Iterator<LogEntry>,LogEntry>Copyright © 2019 Nuxeo. All rights reserved.