Interface IDatasetSamplerFactory
- Namespace
- Azure.Iot.Operations.Connector
- Assembly
- Azure.Iot.Operations.Connector.dll
Factory interface for creating IDatasetSampler instances.
public interface IDatasetSamplerFactory
Methods
CreateDatasetSampler(AssetEndpointProfile, Asset, Dataset)
Factory method for creating a sampler for the provided dataset.
IDatasetSampler CreateDatasetSampler(AssetEndpointProfile assetEndpointProfile, Asset asset, Dataset dataset)
Parameters
assetEndpointProfile
AssetEndpointProfileThe endpoint that holds the data to sample
asset
AssetThe asset that this dataset belongs to.
dataset
DatasetThe dataset that the returned sampler will sample.
Returns
- IDatasetSampler
The dataset sampler that will be used everytime this dataset needs to be sampled.