public Changes filter(String filter) { changes = changes.filter(filter); return this; }
public Changes since(String since) { changes = changes.since(since); return this; }
public Changes limit(int limit) { changes = changes.limit(limit); return this; }
/** Stops a running continuous feed. */ public void stop() { changes.stop(); }
/** Requests Change notifications of feed type normal. */ public ChangesResult getChanges() { org.lightcouch.ChangesResult couchDbChangesResult = changes.getChanges(); ChangesResult changeResult = new ChangesResult(couchDbChangesResult); return changeResult; }
/** * Checks whether a feed is available in the continuous stream, blocking until a feed is received. */ public boolean hasNext() { return changes.hasNext(); }
/** @return The next feed in the stream. */ public Row next() { org.lightcouch.ChangesResult.Row next = changes.next(); Row row = new Row(next); return row; }
/** * Requests Change notifications of feed type continuous. * * <p>Feed notifications are accessed in an <i>iterator</i> style. */ public Changes continuousChanges() { changes = changes.continuousChanges(); return this; }
public Changes style(String style) { changes = changes.style(style); return this; }
public Changes includeDocs(boolean includeDocs) { changes = changes.includeDocs(includeDocs); return this; }
public Changes timeout(long timeout) { changes = changes.timeout(timeout); return this; }
public Changes heartBeat(long heartBeat) { changes = changes.heartBeat(heartBeat); return this; }