RiskDataset class

Constructors

RiskDataset({String? at, String? by, RiskSplitCounts? counts, String? digest, String? name, int? oversize, String? refusal, bool? running, int? share, RiskDatasetSpec? spec, String? status, bool? truncated, int? version})
Returns a new RiskDataset instance.

Properties

at ↔ String?
At is when this version last changed state, RFC 3339 UTC.
getter/setter pair
by ↔ String?
By is who moved it there: the validated user, or the org itself when the caller is a machine with no user behind it.
getter/setter pair
counts ↔ RiskSplitCounts?
Counts is how the rows fall across the splits.
getter/setter pair
digest ↔ String?
Digest fingerprints the SPEC and the ROWS together. Two materialisations of one spec agree on it or the plane says they do not.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name identifies the dataset across all of its versions.
getter/setter pair
oversize ↔ int?
Oversize is how many of the window's subjects this version could NOT carry because their subject identity exceeds the plane's per-subject byte bound. It is on the wire, not only in a log, because it is the one degradation a caller cannot otherwise detect: the rows that are here look complete, and a dataset silently missing a population is a model silently blind to it. Non-zero does not make a version invalid — it makes it a version whose coverage is STATED. Zero is the normal case and omits.
getter/setter pair
refusal ↔ String?
Refusal names why there are no bytes, when there are none.
getter/setter pair
running ↔ bool?
Running is true while THIS process is materialising the version. A version that is materializing and not running was started by a process that is gone — two states the register cannot tell apart, because a register cannot know which processes are alive.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
share ↔ int?
Share is the fraction of the window's subjects admitted, in thousandths. 1000 means the whole window fitted under the cap; anything less means the version is a reproducible sample and says by how much.
getter/setter pair
spec ↔ RiskDatasetSpec?
Spec is the bound query this version was built from, exactly as recorded.
getter/setter pair
status ↔ String?
Status is declared, materializing, ready or refused. Only ready has bytes, and ready is terminal: a published version is never rewritten.
getter/setter pair
truncated ↔ bool?
Truncated is true when the row cap bound before the window ran out. The trailing subject is dropped whole when that happens, because half a subject on one side of a split is exactly the leak the grouping prevents.
getter/setter pair
version ↔ int?
Version is which version this is, from 1 and monotone within the dataset. A number is never reused — not even after a disposal, where the next declare continues the count — so "signups v3" means one thing forever, which is what makes a model's citation of it checkable.
getter/setter pair

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → RiskDataset?
Returns a new RiskDataset instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskDataset>
mapFromJson(dynamic json) → Map<String, RiskDataset>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskDataset>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.