Package com.dnanexus
Class DXSearch.FindDataObjectsResult<T extends DXDataObject>
- java.lang.Object
-
- com.dnanexus.DXSearch.FindDataObjectsResult<T>
-
- Type Parameters:
T- data object class to be returned
- All Implemented Interfaces:
DXSearch.ObjectProducer<T>,Iterable<T>
- Enclosing class:
- DXSearch
public static class DXSearch.FindDataObjectsResult<T extends DXDataObject> extends Object
The set of data objects that matched afindDataObjectsquery.This class paginates through the results as necessary to return the full result set.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DXSearch.FindResultPage<T>getFirstPage(int pageSize)Returns a first page of thefindDataObjectsresults.DXSearch.FindResultPage<T>getSubsequentPage(com.fasterxml.jackson.databind.JsonNode starting, int pageSize)Returns a subsequent page of thefindDataObjectsresults starting from the specified item.Iterator<T>iterator()-
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
-
getFirstPage
public DXSearch.FindResultPage<T> getFirstPage(int pageSize)
Returns a first page of thefindDataObjectsresults.- Parameters:
pageSize- number of elements to retrieve- Returns:
- result set
-
getSubsequentPage
public DXSearch.FindResultPage<T> getSubsequentPage(com.fasterxml.jackson.databind.JsonNode starting, int pageSize)
Returns a subsequent page of thefindDataObjectsresults starting from the specified item.- Parameters:
starting- result ofDXSearch.FindDataObjectsResult.FindDataObjectsResultPage.getNext()call on previous pagepageSize- number of elements to retrieve- Returns:
- result set
-
-