14 lines
485 B
C#
14 lines
485 B
C#
using System;
|
|
|
|
namespace BCG {
|
|
public class MinStream : ViewStream {
|
|
public MinStream(ViewStream stream, string outputCol, string[] inputCol) {
|
|
mySetRealSource(new GroupByStream(stream,
|
|
new MinGroupByEvaluator(outputCol, inputCol)));
|
|
}
|
|
|
|
public MinStream(ViewStream stream, string outputCol)
|
|
: this(new AddColumnsStream(stream, "fakeCol=0"), outputCol, new string[] { "fakeCol" }) { }
|
|
}
|
|
}
|