AnalysisDescriptor

data class AnalysisDescriptor(val metrics: List<String>, val approximate: List<String>, val expressions: Boolean, val having: HavingDescriptor, val sort: AnalysisSortDescriptor, val dense: Boolean, val dateUnits: List<AggregationDateUnit>, val dateParts: List<AggregationDatePart>, val dateDiffUnits: List<DateDiffUnit>, val firstLastOrderBy: String? = null)

Constructors

Link copied to clipboard
constructor(metrics: List<String>, approximate: List<String>, expressions: Boolean, having: HavingDescriptor, sort: AnalysisSortDescriptor, dense: Boolean, dateUnits: List<AggregationDateUnit>, dateParts: List<AggregationDatePart>, dateDiffUnits: List<DateDiffUnit>, firstLastOrderBy: String? = null)

Properties

Link copied to clipboard

The metrics whose results this backend estimates rather than computes exactly.

Link copied to clipboard

The units a DATE_DIFF expression may measure in; empty when expressions is false.

Link copied to clipboard

The calendar parts a DATE_PART group may group by.

Link copied to clipboard

The calendar units a DATE_HISTOGRAM group may bucket by.

Link copied to clipboard
Link copied to clipboard

Whether computed expressions (arithmetic and DATE_DIFF) may feed metrics and TERMS / HISTOGRAM groups, and be compared by an EXPRESSION filter. A DATE_DIFF operand is any field whose aggregate.groups lists DATE_HISTOGRAM.

Link copied to clipboard

The field FIRST and LAST order by when they name no orderBy, at the record level; null when the model has no event time or the storage offers no FIRST / LAST. An explicit orderBy is any single-valued field whose sort.paged is true in the metric's scope.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard