Interface IDomainObjectMapper
An implementation of this class is used to convert DomainObject entity into PointData and FluxRecord back to DomainObject.
Namespace: InfluxDB.Client
Assembly: InfluxDB.Client.dll
Syntax
public interface IDomainObjectMapper : IFluxResultMapper
Methods
ConvertToPointData<T>(T, WritePrecision)
Converts DomainObject to corresponding PointData.
Declaration
PointData ConvertToPointData<T>(T entity, WritePrecision precision)
Parameters
Type | Name | Description |
---|---|---|
T | entity | DomainObject to convert |
WritePrecision | precision | Required timestamp precision |
Returns
Type | Description |
---|---|
PointData | Converted DataPoint |
Type Parameters
Name | Description |
---|---|
T | Type of DomainObject |