public OutputContext(PipelineContext context, IIncrement incrementer) { context.Activity = PipelineActivity.Load; _context = context; _incrementer = incrementer; OutputFields = context.GetAllEntityOutputFields().ToArray(); Connection = context.Process.Connections.First(c => c.Name == "output"); }
public InputContext(PipelineContext context, IIncrement incrementer) { _incrementer = incrementer; _context = context; _context.Activity = PipelineActivity.Extract; RowCapacity = context.GetAllEntityFields().Count(); InputFields = context.Entity.Fields.Where(f => f.Input).ToArray(); Connection = context.Process.Connections.First(c => c.Name == context.Entity.Connection); }
public DefaultPipeline(IEntityController controller, IContext context) { _context = (PipelineContext)context; _controller = controller; Transformers = new List<ITransform>(); }
public Incrementer(PipelineContext context) { _context = context; }