Search Results for

    Show / Hide Table of Contents

    Class RowActionTransform<TInputOutputError>

    A dataflow worker which executes a callback on each row passing through the transform. The callback is passed the row as a parameter, to read and modify as needed before it's automatically passed to the downstream worker. The callback does not itself take rows from or send rows to the ports. If the callback throws an exception, the input row will be rejected to the ErrorOutput port.

    Note: Use the factory methods in RowActionTransformFactory to create instances of this class.

    Use RowActionTransform<TInputError, TOutput> instead if the input and output types are different.

    The input port uses the Default policy. Consider whether this is appropriate, or should be overridden, see BufferingMode for further details.

    Also see the RowActionTransform example.

    Note that this worker does not support asynchronous row methods. If that is needed, consider using RowsActionTransform<TInputOutputError> or RowsTransformBase<TDerived, TInput, TOutput, TError> instead.

    To create a transform without any ErrorOutput, consider inheriting from RowsTransformBase<TDerived, TInput, TOutput>.

    Inheritance
    Object
    WorkerParent
    WorkerBase
    WorkerBase<RowActionTransform<TInputOutputError>>
    RowsTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError, TInputOutputError>
    RowsTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError, TInputOutputError, TInputOutputError>
    RowTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError>
    RowActionTransform<TInputOutputError>
    Implements
    IDisposeOnFinished
    Inherited Members
    RowTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError>.OnInputRow(TInputOutputError)
    RowTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError>.OnRowsAndDemandAsync()
    RowsTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError, TInputOutputError, TInputOutputError>.ErrorOutput
    RowsTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError, TInputOutputError>.Input
    RowsTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError, TInputOutputError>.OnRowsAndDemandAsync()
    RowsTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError, TInputOutputError>.Output
    RowsTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError, TInputOutputError>.RunAsync()
    WorkerBase<RowActionTransform<TInputOutputError>>.AddCompletedCallback(Func<RowActionTransform<TInputOutputError>, OutcomeStatus, Task<OutcomeStatus>>)
    WorkerBase<RowActionTransform<TInputOutputError>>.AddRanCallback(Func<RowActionTransform<TInputOutputError>, OutcomeStatus, WorkerParentChildrenState, Task<OutcomeStatus>>)
    WorkerBase<RowActionTransform<TInputOutputError>>.AddStartingCallback(Func<RowActionTransform<TInputOutputError>, Task<ProgressStatus>>)
    WorkerBase.AddCompletedCallback(Func<WorkerBase, OutcomeStatus, Task<OutcomeStatus>>)
    WorkerBase.AddRanCallback(Func<WorkerBase, OutcomeStatus, WorkerParentChildrenState, Task<OutcomeStatus>>)
    WorkerBase.AddStartingCallback(Func<WorkerBase, Task<ProgressStatus>>)
    WorkerBase.DefaultIsStartable()
    WorkerBase.ErroredPortErrorsWorkerProtected
    WorkerBase.ErrorOutputs
    WorkerBase.EscalateError
    WorkerBase.Inputs
    WorkerBase.IsStartable
    WorkerBase.Outputs
    WorkerBase.Parent
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, WorkerBase, WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(WorkerBase, TLastWorker)
    WorkerBase.SucceededSequence<TLastWorker>(TLastWorker)
    WorkerParent.AddChildCompletedCallback(Action<WorkerBase>)
    WorkerParent.AddStartingChildrenCallback(Func<WorkerParent, Task<ProgressStatus>>)
    WorkerParent.Children
    WorkerParent.DisposeOnFinished<TDisposable>(TDisposable)
    WorkerParent.GetDownstreamFactory<TInput>()
    WorkerParent.HasChildren
    WorkerParent.IsCanceled
    WorkerParent.IsCompleted
    WorkerParent.IsCreated
    WorkerParent.IsError
    WorkerParent.IsFailed
    WorkerParent.IsFatal
    WorkerParent.IsRunning
    WorkerParent.IsSucceeded
    WorkerParent.KeepChildrenLevels
    WorkerParent.Locator
    WorkerParent.LogFactory
    WorkerParent.Logger
    WorkerParent.MaxRunningChildren
    WorkerParent.Name
    WorkerParent.RemoveChildren()
    WorkerParent.RescheduleChildren()
    WorkerParent.RunAsync()
    WorkerParent.RunChildrenAsync(Boolean)
    WorkerParent.RunChildrenAsync()
    WorkerParent.Status
    WorkerParent.Item[String]
    WorkerParent.ToString()
    WorkerParent.WorkerSystem
    WorkerParent.DebugCommands
    WorkerParent.AggregateErrorOutputRows
    WorkerParent.AggregateOutputRows
    WorkerParent.AggregateWorkersCompleted
    WorkerParent.InstantCompleted
    WorkerParent.InstantCreated
    WorkerParent.InstantStarted
    WorkerParent.RunningDuration
    Namespace: actionETL
    Assembly: actionETL.dll
    Syntax
    public class RowActionTransform<TInputOutputError> : RowTransformBase<RowActionTransform<TInputOutputError>, TInputOutputError>, IDisposeOnFinished where TInputOutputError : class
    Type Parameters
    Name Description
    TInputOutputError

    The type of each Input, Output and ErrorOutput row.

    Methods

    OnInputRow(TInputOutputError)

    For internal use.

    Declaration
    protected override sealed TransformRowTreatment OnInputRow(TInputOutputError inputRow)
    Parameters
    Type Name Description
    TInputOutputError inputRow

    Incoming row.

    Returns
    Type Description
    TransformRowTreatment
    Overrides
    actionETL.RowTransformBase<actionETL.RowActionTransform<TInputOutputError>, TInputOutputError>.OnInputRow(TInputOutputError)

    Implements

    IDisposeOnFinished

    See Also

    RowActionTransformFactory
    RowActionTransform<TInputError, TOutput>
    In This Article
    Back to top Copyright © 2020 Envobi Ltd