@Internal public class SingleInputSemanticProperties extends Object implements SemanticProperties
| Modifier and Type | Class and Description |
|---|---|
static class |
SingleInputSemanticProperties.AllFieldsForwardedProperties |
SemanticProperties.EmptySemanticProperties, SemanticProperties.InvalidSemanticAnnotationException| Constructor and Description |
|---|
SingleInputSemanticProperties() |
| 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).
|
void |
addReadFields(FieldSet readFields)
Adds, to the existing information, field(s) that are read in
the source 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.
|
FieldSet |
getReadFields(int input)
Returns the position indexes of all fields of an input that are accessed by a function.
|
String |
toString() |
public FieldSet getForwardingTargetFields(int input, int sourceField)
SemanticPropertiesgetForwardingTargetFields in interface SemanticPropertiesinput - 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)
SemanticPropertiesgetForwardingSourceField in interface SemanticPropertiesinput - 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 FieldSet getReadFields(int input)
SemanticPropertiesgetReadFields in interface SemanticPropertiesinput - The input id for which accessed fields are requested.public void addForwardedField(int sourceField,
int targetField)
sourceField - the position in the source record(s)targetField - the position in the destination record(s)public void addReadFields(FieldSet readFields)
readFields - the position(s) in the source record(s)Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.