public static class BinaryUnionNode.UnionSemanticProperties extends Object implements SemanticProperties
SemanticProperties.EmptySemanticProperties, SemanticProperties.InvalidSemanticAnnotationException
Constructor and Description |
---|
UnionSemanticProperties() |
Modifier and Type | Method and Description |
---|---|
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.
|
public FieldSet getForwardingTargetFields(int input, int sourceField)
SemanticProperties
getForwardingTargetFields
in interface SemanticProperties
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
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 FieldSet getReadFields(int input)
SemanticProperties
getReadFields
in interface SemanticProperties
input
- The input id for which accessed fields are requested.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.