Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Data Flow » Conditional Processing » GroupByCase_Synchronized

GroupByCase_Synchronized


Module: FoundationLite

Groups the elements of the input array into output arrays, depending on the associated array of case indices. Assumes that the range of case indices is continuous and starts at zero.

Name Type Range Description
Input value inArray <T>Array Elements to be grouped
Input value inCaseIndices IntegerArray Reference values corresponding to the input array elements
Input value inCaseCount Integer 0 - Number of cases, each of which is between 0 and inCaseCount - 1 inclusive
Output value outGroupedElements <T>ArrayArray List of input elements for each case
Output value 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.

Errors

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_Synchronized.
DomainError Incorrect case index in GroupByCase_Synchronized.

Complexity Level

This filter is available on Expert Complexity Level.

Filter Group

This filter is member of GroupByCase filter group.