Skip to main content
Version: 0.18.17

MetricFunctionTypes

class great_expectations.core.metric_function_types.MetricFunctionTypes(value)#

Enum type, whose members depict the nature of return value of a metric implementation function (defined for a specified “ExecutionEngine” subclass) that is the final result (rather than a Callable for deferred execution).

The available types are:

  • VALUE – metric implementation function returns a value computed over a dataset represented by “Domain” (e.g., a statistic on column row values). This is the only value in use (others below have never been used and are thus deprecated).

  • MAP_VALUES (never used and deprecated) – metric implementation function returns a mapping between every “Domain” value and the result of a transformation of the corresponding “Domain” value.

  • WINDOW_VALUES (never used and deprecated) – metric implementation function returns the result of applying a specified windowing operation over “Domain” values.

  • AGGREGATE_VALUE (never used and deprecated) – metric implementation function returns the result of applying a specified aggregation operation to every “Domain” value.

VALUE = 'value'#