DataTypeSamplingScheme class

Specifies the sampling scheme for a data type (dataType), including possible options, defaults, and constraints.

From sampling schemes, matching sampling configurations can be created. Per data type, only one SamplingConfiguration is ever active on a device. The sampling configuration to be used is determined on clients in the following order of priority:

See also the section onSampling schemes and configurations in the CARP Core Framework.

Constructors

DataTypeSamplingScheme(DataTypeMetaData dataType, [SamplingConfiguration? defaultSamplingConfiguration])

Properties

dataType DataTypeMetaData
The data type this sampling scheme relates to.
getter/setter pair
defaultSamplingConfiguration SamplingConfiguration
The default configuration to use when no other configuration is specified.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
measure Measure
Create a Measure for the dataType defined by this sampling scheme, and override the measure's default SamplingConfiguration with this scheme's defaultSamplingConfiguration.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The data type as String.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited