Class TaggedOutput<T>

java.lang.Object
org.talend.sdk.component.api.processor.TaggedOutput<T>
Type Parameters:
T - the record type

public class TaggedOutput<T> extends Object
A record tagged with its target output connection name. Used with MultiOutputIterator to route individual records to specific output connections from a single streaming iterator.
  • Constructor Details

  • Method Details

    • of

      public static <T> TaggedOutput<T> of(String outputName, T record)
      Convenience factory method.
      Type Parameters:
      T - the record type
      Parameters:
      outputName - the target output connection name
      record - the record to emit
      Returns:
      a new TaggedOutput