Types

Link copied to clipboard
data class Any(val field: QueryField, val alias: String, val filter: FilterExpression = MatchAllFilter) : AggregationMetric
Link copied to clipboard
data class Count(val alias: String, val filter: FilterExpression = MatchAllFilter) : AggregationMetric
Link copied to clipboard
data class Derived(val alias: String, val expression: DerivedExpression) : AggregationMetric
Link copied to clipboard
data class DistinctCount(val expression: AggregationExpression, val alias: String, val filter: FilterExpression = MatchAllFilter) : AggregationMetric
Link copied to clipboard
sealed interface Edge : AggregationMetric

The value of field on the earliest (First) or latest (Last) record of the group by orderBy, among the records that have both a value and an orderBy position; null when none has. orderBy defaults to the model's event time. Records tied on orderBy may yield any one of their values.

Link copied to clipboard
data class First(val field: QueryField, val alias: String, val orderBy: QueryField? = null, val filter: FilterExpression = MatchAllFilter) : AggregationMetric, AggregationMetric.Edge
Link copied to clipboard
data class Last(val field: QueryField, val alias: String, val orderBy: QueryField? = null, val filter: FilterExpression = MatchAllFilter) : AggregationMetric, AggregationMetric.Edge
Link copied to clipboard
data class Numeric(val function: AggregationFunction, val expression: AggregationExpression, val alias: String, val filter: FilterExpression = MatchAllFilter) : AggregationMetric
Link copied to clipboard
data class Percentile(val expression: AggregationExpression, val percentile: Double, val alias: String, val filter: FilterExpression = MatchAllFilter) : AggregationMetric

Properties

Link copied to clipboard
abstract val alias: String
Link copied to clipboard
abstract val filter: FilterExpression
Link copied to clipboard