Package com.cognite.client.stream
Interface ListSource<T>
- Type Parameters:
T- The type of the resulting object read from CDF.
public interface ListSource<T>
An interface for API endpoints that supports iterating over a results stream based on a
Request specification.-
Method Summary
-
Method Details
-
list
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.
-