Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Conditional Processing » GroupByCase


Groups the elements of the input array into output arrays, depending on the associated array of case indices.

Name Type Description
inArray <T>Array Elements to be grouped
inCaseIndices IntegerArray Reference values corresponding to the input array elements
outGroupedElements <T>ArrayArray List of input elements for each case
outGroupedIndices IntegerArrayArray List of input element indices for each case

The type of this filter is defined using the type variable T which represents any valid type. Read more.


This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Inconsistent array lengths on input in GroupByCase.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of GroupByCase filter group.