예제 #1
0
 public MergeJoin()
 {
     Transformation = new RowTransformation <Tuple <TInput1, TInput2>, TOutput>(this);
     JoinBlock      = new JoinBlock <TInput1, TInput2>();
     Target1        = new MergeJoinTarget <TInput1>(this, JoinBlock.Target1);
     Target2        = new MergeJoinTarget <TInput2>(this, JoinBlock.Target2);
 }
예제 #2
0
 protected override void InitBufferObjects()
 {
     Transformation = new RowTransformation <Tuple <TInput1, TInput2>, TOutput>(this);
     if (MaxBufferSize > 0)
     {
         Transformation.MaxBufferSize = this.MaxBufferSize;
     }
     JoinBlock = new JoinBlock <TInput1, TInput2>(new GroupingDataflowBlockOptions()
     {
         BoundedCapacity = MaxBufferSize
     });
 }
예제 #3
0
 public LookupTransformation()
 {
     LookupBuffer      = new MemoryDestination <TSourceOutput>();
     RowTransformation = new RowTransformation <TInput, TInput>();
 }
예제 #4
0
 internal override void FaultBufferOnPredecessorCompletion(Exception e) => RowTransformation.FaultBufferOnPredecessorCompletion(e);
예제 #5
0
 internal override void CompleteBufferOnPredecessorCompletion() => RowTransformation.CompleteBufferOnPredecessorCompletion();
예제 #6
0
 private void InitRowTransformation(Action initAction)
 {
     RowTransformation            = new RowTransformation <TInput, TInput>(this, _rowTransformationFunc);
     RowTransformation.InitAction = initAction;
 }
예제 #7
0
 public void LinkLookupTransformationErrorTo(IDataFlowLinkTarget <ETLBoxError> target) =>
 RowTransformation.LinkErrorTo(target);
예제 #8
0
 public ColumnRename()
 {
     RowTransformation = new RowTransformation <TInput, ExpandoObject>();
     TypeInfo          = new ColumnRenameTypeInfo(typeof(TInput));
 }