Start » Filter Reference » Data Flow » Conditional Processing » GroupByCase

GroupByCase


Module: FoundationLite

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

Name Type Description
Input value
inArray <T>Array Elements to be grouped
Input value
inCaseIndices IntegerArray Reference values corresponding to the input array elements
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.

Complexity Level

This filter is available on Expert Complexity Level.

Filter Group

This filter is member of GroupByCase filter group.