Class 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 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.