DataTypeSamplingSchemeMap class
A set of DataTypeSamplingScheme mapped to their data type as String
.
Constructors
- DataTypeSamplingSchemeMap()
- Creates an empty DataTypeSamplingSchemeMap.
-
DataTypeSamplingSchemeMap.from(List<
DataTypeSamplingScheme> schemes) -
Creates a DataTypeSamplingSchemeMap from the list of
schemes
.
Properties
-
configurations
→ Map<
String, SamplingConfiguration> -
The map of all SamplingConfiguration entries in this scheme.
no setter
-
dataTypes
→ List<
DataTypeMetaData> -
The list of data types as DataTypeMetaData supported by this sampling schema.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
→ Set<
String> -
The set of data types as
String
supported by this sampling schema.no setter
Methods
-
add(
DataTypeSamplingScheme scheme) → void -
Add
scheme
to this map of schemes. -
addSamplingSchema(
DataTypeSamplingSchemeMap schema) → void -
Adds all sampling configurations from another
schema
to this schema. If a configuration inschema
is already in this schema, its value is overwritten. -
clear(
) → void - Removes all data schemes from this map.
-
contains(
String type) → bool -
Whether the schema contains the data type
type
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String type) → DataTypeSamplingScheme? -
Removes
type
and its associated value, if present, from the map. -
toMap(
) → Map< String, DataTypeSamplingScheme> - This sampling schema as a native Map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String? type) → DataTypeSamplingScheme? -
The configuration for the data type
type
, ornull
iftype
is not in the map. -
operator []=(
String type, DataTypeSamplingScheme schema) → void -
Associates the
type
with the givenschema
.