Class RunTimeMessageOutputCollector<O>

  • Type Parameters:
    O - output type.
    All Implemented Interfaces:
    java.io.Serializable, OutputCollector<O>

    public final class RunTimeMessageOutputCollector<O>
    extends java.lang.Object
    implements OutputCollector<O>
    OutputCollector for dynamic optimization data.
    See Also:
    Serialized Form
    • Method Detail

      • emit

        public void emit​(O output)
        Description copied from interface: OutputCollector
        Single-destination emit.
        Specified by:
        emit in interface OutputCollector<O>
        Parameters:
        output - value.
      • emit

        public <T> void emit​(java.lang.String dstVertexId,
                             T output)
        Description copied from interface: OutputCollector
        Multi-destination emit. Currently unused, but might come in handy for operations like multi-output map.
        Specified by:
        emit in interface OutputCollector<O>
        Type Parameters:
        T - output type.
        Parameters:
        dstVertexId - destination vertex id.
        output - value.