Author |
Mike Haberman |
Creation date |
06/06/2011 |
Firing policy |
all |
Package |
org.seasr.meandre.components.tools.tuples |
DESCRIPTION
This component takes in two different sets of tuples. The first set is used to build a key-value map. The key field is specified as well as the value field. The second set of tuples is then labelled using the map built from the first set. A value from the tuple is used (as the key into the map) to get the label (the value returned from the map) This label is appended to the incoming tuple are returned as a new tuple set
INPUTS
Name |
Description |
Example |
|---|---|---|
tuples |
set of tuples to be labeled TYPE: org.seasr.datatypes.BasicDataTypes.StringsArray |
|
hashMapTuples |
set of tuples that serve as a hash map TYPE: org.seasr.datatypes.BasicDataTypes.StringsArray |
|
meta_tuple |
meta data for tuples to be labeled TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
hashMapMetaTuple |
meta data for hash map tuples TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
OUTPUTS
Name |
Description |
Example |
|---|---|---|
meta_tuple |
meta data for the tuples (same as input with an additional field) TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
tuples |
set of labeled tuples (same as input with an addtional field) TYPE: org.seasr.datatypes.BasicDataTypes.StringsArray |
|
error |
This port is used to output any unhandled errors encountered during the execution of this component |
|
PROPERTIES
Name |
Description |
Default value |
|---|---|---|
_debug_level |
Controls the verbosity of debug messages printed by the component during execution. Possible values are: off, severe, warning, info, config, fine, finer, finest, all Append ',mirror' to any of the values above to mirror that output to the server logs. |
info |
key |
field name for the key field of incoming tuples |
token |
hashKey |
field name for the key field of hash map tuples |
token |
hashValue |
field name for the value field of hash map tuples |
concept |
_ignore_errors |
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component |
false |
Labels
Add Comment