Click or drag to resize
Grid Solutions Framework

IDataSourceValueT Interface

Defines an interface for a typed data source value.

Namespace: GrafanaAdapters.DataSources
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.171-beta
Syntax
public interface IDataSourceValue<T> : IDataSourceValue, 
	IComparable<T>, IEquatable<T>
where T : struct, new(), IDataSourceValue
View Source

Type Parameters

T
Target IDataSourceValue type.

The IDataSourceValueT type exposes the following members.

Properties
 NameDescription
Public propertyAugmentMetadata Gets function that augments metadata for the data source, or null if metadata augmentation is not needed.
(Inherited from IDataSourceValue)
Public propertyDataTypeIndex Gets the data source value type index.
(Inherited from IDataSourceValue)
Public propertyFlags Gets measurement state and quality flags of data source value.
(Inherited from IDataSourceValue)
Public propertyLoadOrder Gets the desired load order for the data source value type.
(Inherited from IDataSourceValue)
Public propertyMetadataTableName Gets the name of the primary metadata table for the data source.
(Inherited from IDataSourceValue)
Public propertyRequiredMetadataFieldNames Gets the names of the required metadata fields for the data source.
(Inherited from IDataSourceValue)
Public propertyTarget Gets the query target, e.g., a point-tag.
(Inherited from IDataSourceValue)
Public propertyTime Gets timestamp, in Unix epoch milliseconds, of data source value.
(Inherited from IDataSourceValue)
Public propertyTimeSeriesValue Gets time-series array values of data source value, e.g., [Value, Time].
(Inherited from IDataSourceValue)
Public propertyTimeSeriesValueDefinition Gets the format definition of a time-series array value, e.g., ["Value", "Time"].
(Inherited from IDataSourceValue)
Public propertyValue Gets the value of data source value.
(Inherited from IDataSourceValue)
Public propertyValueIndex Gets the index of the value within the TimeSeriesValue array.
(Inherited from IDataSourceValue)
Top
Methods
 NameDescription
Public methodAssignToTimeValueMap Assign queried data source value to time-value map.
Public methodCompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparableT)
Public methodEqualsIndicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableT)
Public methodGetTargetIDSet Gets the set of measurement key and point tag identifiers associated with a target.
(Inherited from IDataSourceValue)
Public methodLookupMetadata Looks up metadata record for the specified target.
(Inherited from IDataSourceValue)
Public methodRecordFromKey Gets the metadata record for the specified measurement key.
(Inherited from IDataSourceValue)
Public methodTransposeCompute Executes provided function for data source fields, applying the results to a copy of the data source value and returns the new result.
Top
See Also