public static enum MergeDataSourceProcessor.SourceType extends java.lang.Enum<MergeDataSourceProcessor.SourceType>
| Enum Constant and Description |
|---|
DATASOURCE
Indicates that the object is a DataSource and each row in it should be expanded to be a row in the
output table.
|
SINGLE
Creates a single row from a set of values from the output and attribute objects.
|
| Modifier and Type | Method and Description |
|---|---|
static MergeDataSourceProcessor.SourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MergeDataSourceProcessor.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeDataSourceProcessor.SourceType SINGLE
In this case the key is not required, only the fields. Each field key will be the look up key to find the object from the set of processor output and attributes. The field value will be the column name for that value in the created row
public static final MergeDataSourceProcessor.SourceType DATASOURCE
If the datasource does not exist or is null then this source will be skipped
The fields parameter of the source should contain all the fields to pull from the source DataSource. Not all Fields need to be declared. For example if the source has 5 fields not all of them need to be in the resulting merged datasource.
public static MergeDataSourceProcessor.SourceType[] values()
for (MergeDataSourceProcessor.SourceType c : MergeDataSourceProcessor.SourceType.values()) System.out.println(c);
public static MergeDataSourceProcessor.SourceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null