Package com.cognite.client.stream
Interface ListSource<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterator<List<T>>list(Request requestParameters)Returns allTobjects that matches the filters set in theRequest.
-
-
-
Method Detail
-
list
Iterator<List<T>> list(Request requestParameters) throws Exception
Returns allTobjects that matches the filters set in theRequest. The results are paged through / iterated over via anIterator--the entire results set is not buffered in memory, but streamed in "pages" from the Cognite api. If you need to buffer the entire results set, then you have to stream these results into your own data structure.
-
-