Activity -frequencyDistributor
Activity Type: Transformation
Description
Distributes the sequence of input numeric values over the
spaces emerging from the sequence of the parameter values.
Example
<frequencyDistributor name="distributor">
<inputValues from="dataStoreOutput"/>
<pointsValues>1,4,7,10,13</pointsValues>
<distributionOutput name="distributionOutput"/>
</frequencyDistributor>
Specification
Element frequencyDistributor:
- Attribute name
- unique name for the activity within the scope of a request.
- Element inputValues
(required) - define the sequence of
numeric values to be distributed.
- Attribute from (optional)
- name of the
output from another activity which provides the value of this
parameter.
- Element pointsValues
- the sequence of numeric values that define the spaces over which the
input values will be distributed.
- Element distributionOutput
(required) - output
stream which produces the distribution of values across the spaces.
- Attribute name
- name of
this output stream.
Input and Output Types
- Input: inputValues-
java.lang.String
in a CSV format representing the sequence of numeric values.
- Output: distributionOuput
- java.lang.String
Data Resource Accessor
This activity can operate with any data resource accessor.
XML Schema
OGSA-DAI/schema/ogsadai/xsd/activities/frequency_distributor.xsd
Class
uk.org.ogsadai.activity.transform.FrequencyDistributorActivity
Client Toolkit Class
uk.org.ogsadai.client.toolkit.activity.transform.FrequencyDistributor