Add first two and second two attributes.
Python
@spl.map(style='position')
def AddFirstTwoSecondTwo(a,b,c,d):
"Add first two and second two attributes."
return a+b,c+d
Summary
- Ports
- This operator has 1 input port and 1 output port.
- Windowing
- This operator does not accept any windowing configurations.
- Parameters
- This operator does not support parameters.
- Metrics
- This operator does not report any metrics.
Properties
- Implementation
- C++
- Threading
- Always - Operator always provides a single threaded execution context.
Input Ports
- Ports (0)
-
Tuple attribute values are passed by position to the Python callable.
- Properties
-
Output Ports
- Assignments
- This operator does not allow assignments to output attributes.
- Ports (0)
-
- Properties
-