Class QueryCursor
Composite cursor used when iterating
Inherited Members
Namespace: Cognite.Extensions.DataModels
Assembly: Cognite.Extensions.dll
Syntax
public class QueryCursor
Constructors
| Edit this page View SourceQueryCursor(Query, IEnumerable<string>?)
Create an empty query cursor from a query.
Declaration
public QueryCursor(Query query, IEnumerable<string>? queriesToNeverPaginate)
Parameters
Type | Name | Description |
---|---|---|
Query | query | DMS query to convert to a set of cursors. |
IEnumerable<string> | queriesToNeverPaginate | Set of queries that shouldn't be paginated, for example if you know for sure that they will never return more results than will be returned in a single request. This is a workaround for DMS returning cursors even if there are no more results. |
Properties
| Edit this page View SourceFinished
True if this cursor has finished reading.
Declaration
public bool Finished { get; }
Property Value
Type | Description |
---|---|
bool |