Search Results for

    Show / Hide Table of Contents

    Class ActionTransform<TInputError, TOutput>

    A dataflow worker that executes an asynchronous callback once, which in turn consumes data from the upstream worker and sends data to the downstream worker. Input and error output rows have the same type, but output rows have a different type (instead use ActionTransform<TInputOutputError> if input and output rows are of the same type).

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

    Input data can be processed row by row via TakeRow() etc., or multiple rows can be processed via TryTakeBuffer(TInput[]) etc.

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

    Also see the ActionTransform example.

    Inheritance
    Object
    WorkerParent
    WorkerBase
    WorkerBase<ActionTransform<TInputError, TOutput>>
    ActionWorkerBase<ActionTransform<TInputError, TOutput>>
    ActionTransform<TInputError, TOutput>
    Implements
    IDisposeOnFinished
    Inherited Members
    ActionWorkerBase<ActionTransform<TInputError, TOutput>>.RunAsync()
    WorkerBase<ActionTransform<TInputError, TOutput>>.AddCompletedCallback(Func<ActionTransform<TInputError, TOutput>, OutcomeStatus, Task<OutcomeStatus>>)
    WorkerBase<ActionTransform<TInputError, TOutput>>.AddRanCallback(Func<ActionTransform<TInputError, TOutput>, OutcomeStatus, WorkerParentChildrenState, Task<OutcomeStatus>>)
    WorkerBase<ActionTransform<TInputError, TOutput>>.AddStartingCallback(Func<ActionTransform<TInputError, TOutput>, 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.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 ActionTransform<TInputError, TOutput> : ActionWorkerBase<ActionTransform<TInputError, TOutput>>, IDisposeOnFinished where TInputError : class where TOutput : class
    Type Parameters
    Name Description
    TInputError

    The type of input as well as error output rows.

    TOutput

    The type of output rows.

    Properties

    ErrorOutput

    Gets the error output port for sending error rows to logging and an optional downstream worker.

    Declaration
    public ErrorOutputPort<TInputError> ErrorOutput { get; }
    Property Value
    Type Description
    ErrorOutputPort<TInputError>

    Input

    Gets the input port for receiving rows from an upstream worker.

    Declaration
    public InputPort<TInputError> Input { get; }
    Property Value
    Type Description
    InputPort<TInputError>

    Output

    Gets the output port for sending rows to the downstream worker.

    Declaration
    public OutputPort<TOutput> Output { get; }
    Property Value
    Type Description
    OutputPort<TOutput>

    Implements

    IDisposeOnFinished

    See Also

    ActionTransformFactory
    ActionTransform<TInputOutputError>
    ActionTwoInputTransformFactory
    In This Article
    Back to top Copyright © 2021 Envobi Ltd