コード例 #1
0
 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));
 }
コード例 #2
0
 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));
 }
コード例 #3
0
 public RowCursor[] GetRowCursorSet(Func <int, bool> predicate, int n, Random rand = null)
 {
     _host.AssertValue(_transform, "_transform");
     return(_transform.GetRowCursorSet(predicate, n, rand));
 }
コード例 #4
0
 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));
 }
コード例 #5
0
 public override DataViewRowCursor[] GetRowCursorSet(IEnumerable <DataViewSchema.Column> columnsNeeded, int n, Random rand = null)
 {
     Host.AssertValue(_pipedTransform, "_pipedTransform");
     return(_pipedTransform.GetRowCursorSet(columnsNeeded, n, rand));
 }
コード例 #6
0
 public override RowCursor[] GetRowCursorSet(Func <int, bool> predicate, int n, Random rand = null)
 {
     Host.AssertValue(_pipedTransform, "_pipedTransform");
     return(_pipedTransform.GetRowCursorSet(predicate, n, rand));
 }