Versions in this module Expand all Collapse all v0 v0.1.1 Oct 20, 2022 v0.1.0 Sep 26, 2022 Changes in this version + const UniqueFields + var TypeAll = append(TypesDataQuality, TypesBasicMetric) + var TypesBasicMetric = []Type + var TypesDataQuality = []Type + type Category string + const Basic + const Quality + func GetCategory(metricType Type) Category + type Finder struct + func NewFinder(metrics []*Metric) *Finder + func (f *Finder) Find() []*Metric + func (f *Finder) FindOne() *Metric + func (f *Finder) WithCategory(cat Category) *Finder + func (f *Finder) WithCondition(condition string) *Finder + func (f *Finder) WithFieldID(fieldID string) *Finder + func (f *Finder) WithID(ID string) *Finder + func (f *Finder) WithOwner(owner Owner) *Finder + func (f *Finder) WithPartition(partition string) *Finder + func (f *Finder) WithType(Type Type) *Finder + type Group []*Metric + func (g Group) ByGroupValue() []Group + func (g Group) ByPartition() []Group + func (g Group) ByPartitionAsMap() map[string][]*Metric + type Metric struct + Category Category + Condition string + FieldID string + GroupValue string + ID string + Metadata map[string]interface{} + Owner Owner + Partition string + Timestamp time.Time + Type Type + Value float64 + func New(fieldID string, _type Type, category Category, value float64, ...) *Metric + type Owner string + const Field + const Table + type Spec struct + Condition string + FieldID string + Metadata map[string]interface{} + Name Type + Optional bool + Owner Owner + TableID string + type SpecFinder []*Spec + func (msf SpecFinder) GetMetricSpecsByFieldID(fieldID string) ([]*Spec, error) + type Type string + const Count + const DuplicationPct + const InvalidCount + const InvalidPct + const NullCount + const NullnessPct + const RowCount + const Sum + const TrendInconsistencyPct + const UniqueCount + func (t Type) String() string