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)
        sideInputIndex - index of the side input.
        sideInputValue - value of the side input.
    • Method Detail

      • getSideInputIndex

        public int getSideInputIndex()
        index of the side input.
      • getSideInputValue

        public T getSideInputValue()
        value of the side input.