public GroupedStreamAggregateBuilder(InternalStreamBuilder builder, Grouped <K, V> grouped, List <string> sourceNodes, string name, StreamGraphNode node)
 {
     this.builder     = builder;
     this.grouped     = grouped;
     this.sourceNodes = sourceNodes;
     this.name        = name;
     this.node        = node;
 }
 protected AbstractStream(AbstractStream <K, V> stream)
 {
     NameNode       = stream.NameNode;
     builder        = stream.builder;
     KeySerdes      = stream.KeySerdes;
     ValueSerdes    = stream.ValueSerdes;
     SetSourceNodes = stream.SetSourceNodes;
     Node           = stream.Node;
 }
 protected AbstractStream(String name,
                          ISerDes <K> keySerde,
                          ISerDes <V> valSerde,
                          List <String> sourceNodes,
                          StreamGraphNode streamsGraphNode,
                          InternalStreamBuilder builder)
     : this(name, keySerde, valSerde, sourceNodes, false, streamsGraphNode, builder)
 {
 }
 public AbstractStream(AbstractStream <K, V> stream)
 {
     this.nameNode       = stream.nameNode;
     this.builder        = stream.builder;
     this.keySerdes      = stream.keySerdes;
     this.valueSerdes    = stream.valueSerdes;
     this.setSourceNodes = stream.setSourceNodes;
     this.node           = stream.node;
 }
Beispiel #5
0
 protected AbstractStream(AbstractStream <K, V> stream)
 {
     nameNode       = stream.nameNode;
     builder        = stream.builder;
     keySerdes      = stream.keySerdes;
     valueSerdes    = stream.valueSerdes;
     setSourceNodes = stream.setSourceNodes;
     node           = stream.node;
 }
 protected AbstractStream(AbstractStream <K, V> stream)
 {
     NameNode            = stream.NameNode;
     builder             = stream.builder;
     KeySerdes           = stream.KeySerdes;
     ValueSerdes         = stream.ValueSerdes;
     SetSourceNodes      = stream.SetSourceNodes;
     RepartitionRequired = stream.RepartitionRequired;
     Node = stream.Node;
 }
        protected AbstractStream(String name,
                                 ISerDes <K> keySerde,
                                 ISerDes <V> valSerde,
                                 List <String> sourceNodes,
                                 StreamGraphNode streamsGraphNode,
                                 InternalStreamBuilder builder)
        {
            if (sourceNodes == null || sourceNodes.Count == 0)
            {
                throw new ArgumentException("parameter <sourceNodes> must not be null or empty");
            }

            NameNode       = name;
            this.builder   = builder;
            KeySerdes      = keySerde;
            ValueSerdes    = valSerde;
            SetSourceNodes = sourceNodes;
            Node           = streamsGraphNode;
        }
Beispiel #8
0
 public KGroupedStream(string name, Grouped <K, V> grouped, List <string> sourceNodes, StreamGraphNode streamsGraphNode, InternalStreamBuilder builder)
     : base(name, grouped.Key, grouped.Value, sourceNodes, streamsGraphNode, builder)
 {
 }
Beispiel #9
0
 public StreamJoinBuilder(InternalStreamBuilder builder, bool leftOuter, bool rightOuter)
 {
     this.builder    = builder;
     this.leftOuter  = leftOuter;
     this.rightOuter = rightOuter;
 }
 public GroupedStreamAggregateBuilder(InternalStreamBuilder builder, List <string> sourceNodes, StreamGraphNode node)
 {
     this.builder     = builder;
     this.sourceNodes = sourceNodes;
     this.node        = node;
 }
        public TimeWindowedKStream(WindowOptions <W> windowOptions, GroupedStreamAggregateBuilder <K, V> aggBuilder, string name, ISerDes <K> keySerde, ISerDes <V> valSerde, List <string> sourceNodes, StreamGraphNode streamsGraphNode, InternalStreamBuilder builder)
            : base(name, keySerde, valSerde, sourceNodes, streamsGraphNode, builder)
        {
            CheckIfParamNull(windowOptions, "windowOptions");

            this.windowOptions = windowOptions;
            this.aggBuilder    = aggBuilder;
        }
 internal KStream(string name, ISerDes <K> keySerdes, ISerDes <V> valueSerdes, List <string> setSourceNodes, StreamGraphNode node, InternalStreamBuilder builder)
     : base(name, keySerdes, valueSerdes, setSourceNodes, node, builder)
 {
 }