Class SideInputElement<T>
- java.lang.Object
-
- org.apache.nemo.compiler.frontend.beam.SideInputElement<T>
-
- Type Parameters:
T
- type of the side input value.
public final class SideInputElement<T> extends java.lang.Object
DoFnTransform
treats elements of this type as side inputs. TODO #289: Prevent using SideInputElement in UDFs
-
-
Constructor Summary
Constructors Constructor Description SideInputElement(int sideInputIndex, T sideInputValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSideInputIndex()
T
getSideInputValue()
-
-
-
Constructor Detail
-
SideInputElement
public SideInputElement(int sideInputIndex, T sideInputValue)
- Parameters:
sideInputIndex
- index of the side input.sideInputValue
- value of the side input.
-
-
Method Detail
-
getSideInputIndex
public int getSideInputIndex()
- Returns:
- index of the side input.
-
getSideInputValue
public T getSideInputValue()
- Returns:
- value of the side input.
-
-