Example #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);
 }
Example #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
     });
 }
Example #3
0
 public LookupTransformation()
 {
     LookupBuffer      = new MemoryDestination <TSourceOutput>();
     RowTransformation = new RowTransformation <TInput, TInput>();
 }
Example #4
0
 internal override void FaultBufferOnPredecessorCompletion(Exception e) => RowTransformation.FaultBufferOnPredecessorCompletion(e);
Example #5
0
 internal override void CompleteBufferOnPredecessorCompletion() => RowTransformation.CompleteBufferOnPredecessorCompletion();
Example #6
0
 private void InitRowTransformation(Action initAction)
 {
     RowTransformation            = new RowTransformation <TInput, TInput>(this, _rowTransformationFunc);
     RowTransformation.InitAction = initAction;
 }
Example #7
0
 public void LinkLookupTransformationErrorTo(IDataFlowLinkTarget <ETLBoxError> target) =>
 RowTransformation.LinkErrorTo(target);
Example #8
0
 public ColumnRename()
 {
     RowTransformation = new RowTransformation <TInput, ExpandoObject>();
     TypeInfo          = new ColumnRenameTypeInfo(typeof(TInput));
 }