public StreamTableJoinNode(
     string streamGraphNode,
     ProcessorParameters <K, V> processorParameters,
     string[] storeNames,
     string otherJoinSideNodeName)
     : base(streamGraphNode)
 {
     this.processorParameters   = processorParameters;
     this.storeNames            = storeNames;
     this.otherJoinSideNodeName = otherJoinSideNodeName;
 }
 public BaseJoinProcessorNode(
     string name,
     IValueJoiner <V1, V2, VR> valueJoiner,
     ProcessorParameters <K, V1> joinLeftParams,
     ProcessorParameters <K, V2> joinRightParams,
     ProcessorParameters <K, VR> joinMergeParams,
     string leftJoinSideName,
     string rightJoinSideName)
     : base(name)
 {
     ValueJoiner       = valueJoiner;
     JoinLeftParams    = joinLeftParams ?? throw new ArgumentNullException(nameof(joinLeftParams));
     JoinRightParams   = joinRightParams ?? throw new ArgumentNullException(nameof(joinRightParams));
     JoinMergeParams   = joinMergeParams;
     LeftJoinSideName  = leftJoinSideName;
     RightJoinSideName = rightJoinSideName;
 }
 public StreamStreamJoinNode(
     string name,
     IValueJoiner <V1, V2, VR> valueJoiner,
     ProcessorParameters <K, V1> joinLeftParams,
     ProcessorParameters <K, V2> joinRightParams,
     ProcessorParameters <K, VR> joinMergeParams,
     ProcessorParameters <K, V1> windowedLeftParams,
     ProcessorParameters <K, V2> windowedRightParams,
     IStoreBuilder <IWindowStore <K, V1> > windowedLeftStoreBuilder,
     IStoreBuilder <IWindowStore <K, V2> > windowedRightStoreBuilder)
     : base(name, valueJoiner, joinLeftParams, joinRightParams, joinMergeParams, null, null)
 {
     this.windowedLeftParams        = windowedLeftParams;
     this.windowedRightParams       = windowedRightParams;
     this.windowedLeftStoreBuilder  = windowedLeftStoreBuilder;
     this.windowedRightStoreBuilder = windowedRightStoreBuilder;
 }
예제 #4
0
 internal AbstractRepartitionNode(
     string streamGraphNode,
     string sourceName,
     ProcessorParameters <K, V> processorParameters,
     ISerDes <K> keySerdes,
     ISerDes <V> valueSerdes,
     string sinkName,
     string repartitionTopic)
     : base(streamGraphNode)
 {
     SourceName          = sourceName;
     ProcessorParameters = processorParameters;
     KeySerdes           = keySerdes;
     ValueSerdes         = valueSerdes;
     SinkName            = sinkName;
     RepartitionTopic    = repartitionTopic;
 }
 public RepartitionNode(string streamGraphNode, string sourceName, ProcessorParameters <K, V> processorParameters, ISerDes <K> keySerdes, ISerDes <V> valueSerdes, string sinkName, string repartitionTopic)
     : base(streamGraphNode, sourceName, processorParameters, keySerdes, valueSerdes, sinkName, repartitionTopic)
 {
 }
 /// <summary>
 /// Create a node representing a stateful processor,
 /// where the store needs to be built and registered as part of building this node.
 /// </summary>
 /// <param name="nameNode"></param>
 /// <param name="parameters"></param>
 /// <param name="storeBuilder"></param>
 public StatefulProcessorNode(string nameNode, ProcessorParameters <K, V> parameters, StoreBuilder <S> storeBuilder)
     : base(nameNode, parameters)
 {
     storeNames        = null;
     this.storeBuilder = storeBuilder;
 }