ITimeSeriesBlockDataSerializerFactory Interface
HAKOM.TSM.Net.Api.Data.TimeSeries.Compression
Section titled “HAKOM.TSM.Net.Api.Data.TimeSeries.Compression”Used to create ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instances.
public interface ITimeSeriesBlockDataSerializerFactoryMethods
Section titled “Methods”ITimeSeriesBlockDataSerializerFactory.Create<TValue,TCompressedValue>(CompressionMode) Method
Section titled “ITimeSeriesBlockDataSerializerFactory.Create<TValue,TCompressedValue>(CompressionMode) Method”Creates a new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.
It will be configured with the specified compression mode media type resolver.
HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> Create<TValue,TCompressedValue>(HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.CompressionMode compressionMode) where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;Type parameters
Section titled “Type parameters”TValue
The type of values in the time series data.
TCompressedValue
The type of values in the compressed time series data.
Parameters
Section titled “Parameters”compressionMode CompressionMode
The compression mode.
Returns
Section titled “Returns”HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue>
A new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.
ITimeSeriesBlockDataSerializerFactory.TryCreate<TValue,TCompressedValue>(CompressionMode) Method
Section titled “ITimeSeriesBlockDataSerializerFactory.TryCreate<TValue,TCompressedValue>(CompressionMode) Method”Creates a new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.
It will be configured with the specified compression mode media type resolver.
HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue>> TryCreate<TValue,TCompressedValue>(HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.CompressionMode compressionMode) where TValue : System.IComparable<TValue>, System.IEquatable<TValue>;Type parameters
Section titled “Type parameters”TValue
The type of values in the time series data.
TCompressedValue
The type of values in the compressed time series data.
Parameters
Section titled “Parameters”compressionMode CompressionMode
The compression mode.
Returns
Section titled “Returns”HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ITimeSeriesBlockDataSerializer<TValue,TCompressedValue>>
A Result<TValue> containing a new ITimeSeriesBlockDataSerializer<TValue,TCompressedValue> instance.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.