Share via


StatefulCustomMappingFactory<TSrc,TDst,TState> Class

Definition

The base type for stateful custom mapping factories.

public abstract class StatefulCustomMappingFactory<TSrc,TDst,TState> where TSrc : class, new() where TDst : class, new() where TState : class, new()
type StatefulCustomMappingFactory<'Src, 'Dst, 'State (requires 'Src : null and 'Src : (new : unit -> 'Src) and 'Dst : null and 'Dst : (new : unit -> 'Dst) and 'State : null and 'State : (new : unit -> 'State))> = class
Public MustInherit Class StatefulCustomMappingFactory(Of TSrc, TDst, TState)

Type Parameters

TSrc

The type that describes what 'source' columns are consumed from the input IDataView.

TDst

The type that describes what new columns are added by this transform.

TState

The type that describes the state object the mapping uses.

Inheritance
StatefulCustomMappingFactory<TSrc,TDst,TState>

Constructors

StatefulCustomMappingFactory<TSrc,TDst,TState>()

Methods

GetMapping()

Returns the mapping delegate that maps from a TSrc input and a state object of type TState, to a TDst output.

GetStateInitAction()

Returns an action that is called once before the row cursor is initialized, to initialize the state object used by the cursor.

Applies to