applicationStage

applicationStage: "Query" | "PostProcess"

Grouping nodes by label is an expensive operation because it requires the whole hierarchy level to be created before even the first grouped node can be produced. To alleviate the performance impact when this specification is used, two applicationStage settings have been introduced:

  • "Query" groups instances during ECSql query, which can often make use of database indices and is generally fairly quick. It is chosen as the default option, however, it fails to produce grouping nodes when certain ruleset specifications are involved.

  • "PostProcess" groups instances after the whole hierarchy level is built. It incurs a large performance penalty, but it will produce the expected result in all cases.

@see SameLabelInstanceGroupApplicationStage

Defined in

Last Updated: 29 April, 2024