Package io.nitric.api.document
Class QueryResults<T>
- java.lang.Object
-
- io.nitric.api.document.QueryResults<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.nitric.proto.document.v1.DocumentQueryRequest
buildDocQueryRequest(List<io.nitric.api.document.Query.Expression> expressions)
Map<String,String>
getPagingToken()
Return the query paging continuation token if there are more items available.Iterator<ResultDoc<T>>
iterator()
Return a typed query results iterator.protected void
loadPageData(io.nitric.proto.document.v1.DocumentQueryResponse response)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getPagingToken
public Map<String,String> getPagingToken()
Return the query paging continuation token if there are more items available. If this value is null then no further query results are available.- Returns:
- the query paging continuation token
-
buildDocQueryRequest
protected io.nitric.proto.document.v1.DocumentQueryRequest buildDocQueryRequest(List<io.nitric.api.document.Query.Expression> expressions)
-
loadPageData
protected void loadPageData(io.nitric.proto.document.v1.DocumentQueryResponse response)
-
-