/// <summary> /// Executes this operation /// </summary> /// <param name="rows">The rows.</param> /// <returns></returns> public IEnumerable <FdoRow> Execute(IEnumerable <FdoRow> rows) { MergeLastOperationsToOperations(); return(pipelineExeuter.PipelineToEnumerable(operations, rows)); }
/// <summary> /// Executes this operation /// </summary> /// <param name="rows">The rows.</param> /// <param name="cancellationToken">A CancellationToken to stop execution</param> /// <returns></returns> public IAsyncEnumerable <Row> Execute(IAsyncEnumerable <Row> rows, CancellationToken cancellationToken = default) { MergeLastOperationsToOperations(); return(pipelineExeuter.PipelineToEnumerable(operations, rows, enumerable => enumerable, cancellationToken)); }