Property

OmniTrackBuilder:group-values

Declaration

property group-values: Omni.ArrowRecordBatch [ write ]

Description

Specifies static grouping field values for subtracks.

Set this property to a non-null value to enable static subtracks. Each record row is rendered as a subtrack, where the visualizers only display the events having the matching grouping field values.

To enable dynamic subtracks, leave this property set to null and call omni_track_builder_append_group_field_with_sql() at least once.

The record batch must contain at least one row and one field.

The rows must be organized in a hierarchical manner. The provided batch must contain a list of leaf node paths of a prefix tree where the i-th level nodes hold i-th level grouping field values, sorted by an arbitrary depth-first-search order.

A lexicographical order meets this criterion.

By the above definition, the rows must be distinct from each other.

Not every visualizer supports subtracks. Enabling subtracks in a track with an unsupported summary visualizer will result in a planning error. Unsupported detail visualizers are hidden when a subtrack, instead of the whole track, is selected.

Setting this property to null disables static subtracks. It disables subtracks altogether only if no grouping fields are defined.

.

Flags

Readableno
Writableyes
Constructno
Construct onlyno