Class SourceWithContext$


  • public class SourceWithContext$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static SourceWithContext$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <Out,​CtxOut,​Mat>
      SourceWithContext<Out,​CtxOut,​Mat>
      fromTuples​(Source<scala.Tuple2<Out,​CtxOut>,​Mat> source)
      Creates a SourceWithContext from a regular source that operates on a tuple of (data, context) elements.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final SourceWithContext$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • SourceWithContext$

        public SourceWithContext$()
    • Method Detail

      • fromTuples

        public <Out,​CtxOut,​Mat> SourceWithContext<Out,​CtxOut,​Mat> fromTuples​(Source<scala.Tuple2<Out,​CtxOut>,​Mat> source)
        Creates a SourceWithContext from a regular source that operates on a tuple of (data, context) elements.
        Parameters:
        source - (undocumented)
        Returns:
        (undocumented)