You are here: Processor Library > Transformation > Return Array Size

Return Array Size

The Return Array Size processor accepts an array attribute, and returns the size of the array in a new attribute. The size of the array is the number of elements the array contains.

Use

The output from this processor can be used in mathematical calculations and then applied to other processes for splitting the array or processing elements of the array.

Configuration

Inputs

A single Array attribute

Options

None

Outputs

Data attributes

Data attribute

Type

Purpose

Value

ArraySize

Derived

A new attribute with a count of the number of elements in the array

The size of the array attribute; that is, the number of elements in the array

Flags

None

Execution

Execution Mode

Supported

Batch

Yes

Real time Monitoring

Yes

Real time Response

Yes

Results Browsing

The Return Array Size transformer presents no summary statistics on its processing.

In the Data view, the input array attribute is shown with the new array size attribute to its right.

Output Filters

None. All records input are output.

Example

In this case, Return Array Size has been used to return the size of an Array attribute:

Oracle ® Enterprise Data Quality Help version 9.0
Copyright © 2006,2011 Oracle and/or its affiliates. All rights reserved.