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, touch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
protected 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()
CursorResult
Closeable
, we just set the field to nullclose
in interface Closeable
close
in interface AutoCloseable
close
in class CursorResult<Iterator<LogEntry>,LogEntry>
Copyright © 2019 Nuxeo. All rights reserved.