public override RowCursor[] GetRowCursorSet(Func <int, bool> needCol, int n, Random rand = null) { if (_transform == null) { lock (_lock) if (_transform == null) { _transform = CreateTemplatedTransform(); } } Host.AssertValue(_transform, "_transform"); Host.AssertValue(_trend, "_trend"); return(_transform.GetRowCursorSet(needCol, n, rand)); }
public override DataViewRowCursor[] GetRowCursorSet(IEnumerable <DataViewSchema.Column> columnsNeeded, int n, Random rand = null) { if (_transform == null) { lock (_lock) if (_transform == null) { _transform = CreateTemplatedTransform(); } } Host.AssertValue(_transform, "_transform"); Host.AssertValue(_trend, "_trend"); return(_transform.GetRowCursorSet(columnsNeeded, n, rand)); }
public RowCursor[] GetRowCursorSet(Func <int, bool> predicate, int n, Random rand = null) { _host.AssertValue(_transform, "_transform"); return(_transform.GetRowCursorSet(predicate, n, rand)); }
public override IRowCursor[] GetRowCursorSet(out IRowCursorConsolidator consolidator, Func <int, bool> predicate, int n, IRandom rand = null) { Host.AssertValue(_pipedTransform, "_pipedTransform"); return(_pipedTransform.GetRowCursorSet(out consolidator, predicate, n, rand)); }
public override DataViewRowCursor[] GetRowCursorSet(IEnumerable <DataViewSchema.Column> columnsNeeded, int n, Random rand = null) { Host.AssertValue(_pipedTransform, "_pipedTransform"); return(_pipedTransform.GetRowCursorSet(columnsNeeded, n, rand)); }
public override RowCursor[] GetRowCursorSet(Func <int, bool> predicate, int n, Random rand = null) { Host.AssertValue(_pipedTransform, "_pipedTransform"); return(_pipedTransform.GetRowCursorSet(predicate, n, rand)); }