import { PropertyFilterNodeCollectionOptions } from './PropertyFilterNodeCollection'; import { SerializedNodeCollection } from './SerializedNodeCollection'; import { CdfModelNodeCollectionDataProvider } from './CdfModelNodeCollectionDataProvider'; import { CogniteClient } from '@cognite/sdk'; import { CdfNodeCollectionBase } from './CdfNodeCollectionBase'; /** * Node collection that filters nodes based on a node property from a list of values, similarly to how * `SELECT ... IN (...)` works. This is useful when looking up nodes based on a list of identifiers, * nodes within a set of areas or systems. The node set is optimized for matching with properties with * a large number of values (i.e. thousands). */ export declare class SinglePropertyFilterNodeCollection extends CdfNodeCollectionBase { static readonly classToken = "SinglePropertyNodeCollection"; private readonly _client; private readonly _model; private readonly _options; private readonly _filter; /** * Construct a new node set. * @param client {@link CogniteClient} authenticated to the project the model is loaded from. * @param model CAD model. * @param options */ constructor(client: CogniteClient, model: CdfModelNodeCollectionDataProvider, options?: PropertyFilterNodeCollectionOptions); /** * Execute filter asynchronously, replacing any existing filter active. When {@link propertyValues} * contains more than 1000 elements, the operation will be split into multiple batches that * are executed in parallel. Note that when providing a {@link PropertyFilterNodeCollectionOptions.requestPartitions} * during construction of the node set, the total number of batches will be requestPartitions*numberOfBatches. * * @param propertyCategory Node property category, e.g. `'PDMS'`. * @param propertyKey Node property key, e.g. `':FU'`. * @param propertyValues Lookup values, e.g. `["AR100APG539","AP500INF534","AP400INF553", ...]` */ executeFilter(propertyCategory: string, propertyKey: string, propertyValues: string[]): Promise; private buildUrl; serialize(): SerializedNodeCollection; }