Пример #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));
 }