public static class SingleInputSemanticProperties.AllFieldsForwardedProperties extends SingleInputSemanticProperties
SingleInputSemanticProperties.AllFieldsForwardedProperties
SemanticProperties.EmptySemanticProperties, SemanticProperties.InvalidSemanticAnnotationException
Constructor and Description |
---|
AllFieldsForwardedProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addForwardedField(int sourceField,
int targetField)
Adds, to the existing information, a field that is forwarded directly from the source
record(s) to the destination record(s).
|
int |
getForwardingSourceField(int input,
int targetField)
Returns the index of the source field on the given input from which the target field has been
unmodified copied by a function.
|
FieldSet |
getForwardingTargetFields(int input,
int sourceField)
Returns the indexes of all target fields to which a source field has been unmodified copied
by a function.
|
addReadFields, getReadFields, toString
public FieldSet getForwardingTargetFields(int input, int sourceField)
SemanticProperties
getForwardingTargetFields
in interface SemanticProperties
getForwardingTargetFields
in class SingleInputSemanticProperties
input
- The input id for the requested source field (0 for first input, 1 for second
input)sourceField
- The index of the field for which the target position index is requested.public int getForwardingSourceField(int input, int targetField)
SemanticProperties
getForwardingSourceField
in interface SemanticProperties
getForwardingSourceField
in class SingleInputSemanticProperties
input
- The input id for the requested source field (0 for first input, 1 for second
input)targetField
- The index of the target field to which the source field has been copied.public void addForwardedField(int sourceField, int targetField)
SingleInputSemanticProperties
addForwardedField
in class SingleInputSemanticProperties
sourceField
- the position in the source record(s)targetField
- the position in the destination record(s)Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.