public class OffsetReadJsonStream extends ReadJsonStreamBase<OffsetReadJsonStream>
ReadJsonStreamBase using an integer offset
to paginate json Solr results| Constructor and Description |
|---|
OffsetReadJsonStream() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleReply(org.vertx.java.core.json.JsonObject reply)
Pagination looping logic - continuously runs through a doQuery loop until all results have been streamed
|
protected boolean |
isComplete(org.vertx.java.core.json.JsonObject reply) |
protected void |
setQueryStart(org.apache.solr.client.solrj.SolrQuery query)
Set the query start point for pagination.
|
address, dataHandler, endHandler, eventBus, exceptionHandler, pause, resume, serializer, solrQueryprotected void setQueryStart(org.apache.solr.client.solrj.SolrQuery query)
ReadJsonStreamBasesetQueryStart in class ReadJsonStreamBase<OffsetReadJsonStream>query - SolrQuery objectprotected void handleReply(org.vertx.java.core.json.JsonObject reply)
ReadJsonStreamBasehandleReply in class ReadJsonStreamBase<OffsetReadJsonStream>reply - JsonObject query reply from Solrprotected boolean isComplete(org.vertx.java.core.json.JsonObject reply)
isComplete in class ReadJsonStreamBase<OffsetReadJsonStream>Copyright © 2015 Englishtown. All rights reserved.