protected AbstractStream(AbstractStream <K, V> stream)
 {
     NameNode       = stream.NameNode;
     builder        = stream.builder;
     KeySerdes      = stream.KeySerdes;
     ValueSerdes    = stream.ValueSerdes;
     SetSourceNodes = stream.SetSourceNodes;
     Node           = stream.Node;
 }
 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 #3
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 ISet <string> EnsureJoinableWith <K1, V1>(AbstractStream <K1, V1> other)
        {
            ISet <string> allSourceNodes = new HashSet <string>();

            allSourceNodes.AddRange(SetSourceNodes);
            allSourceNodes.AddRange(other.SetSourceNodes);

            builder.internalTopologyBuilder.CopartitionSources(allSourceNodes);

            return(allSourceNodes);
        }