orderType property
The order type.
The default orderType is VALUE
.
Possible string values are:
- "ORDER_TYPE_UNSPECIFIED" : Unspecified order type will be treated as sort based on value.
- "VALUE" : The sort order is based on the value of the chosen column; looks only at the first date range.
- "DELTA" : The sort order is based on the difference of the values of the chosen column between the first two date ranges. Usable only if there are exactly two date ranges.
- "SMART" : The sort order is based on weighted value of the chosen
column. If column has n/d format, then weighted value of this ratio will
be
(n + totals.n)/(d + totals.d)
Usable only for metrics that represent ratios. - "HISTOGRAM_BUCKET" : Histogram order type is applicable only to dimension columns with non-empty histogram-buckets.
- "DIMENSION_AS_INTEGER" : If the dimensions are fixed length numbers,
ordinary sort would just work fine.
DIMENSION_AS_INTEGER
can be used if the dimensions are variable length numbers.
Implementation
core.String? orderType;