Table of Contents

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 AssetEndpointProfile

The endpoint that holds the data to sample

asset Asset

The asset that this dataset belongs to.

dataset Dataset

The dataset that the returned sampler will sample.

Returns

IDatasetSampler

The dataset sampler that will be used everytime this dataset needs to be sampled.