AshDyan.Dsl.AnalyzableField (AshDyan v0.1.0)

Copy Markdown View Source

Struct describing a single analyzable_field declared in the dyan DSL section.

This is the security whitelist: a runtime request may only reference fields, functions, buckets, and percentiles that appear here.

Summary

Types

t()

@type t() :: %AshDyan.Dsl.AnalyzableField{
  __spark_metadata__: term(),
  bin_width: number() | nil,
  bins: pos_integer(),
  buckets: [AshDyan.time_bucket()],
  functions: [AshDyan.aggregate_function()],
  name: atom(),
  percentiles: [pos_integer()],
  time_field: atom() | nil,
  type: :frequency | :aggregate | :time_bucket | :percentile | :histogram
}