コード例 #1
0
 /// <summary>
 /// Creates a new MEDIAN Aggregate
 /// </summary>
 /// <param name="expr">Variable Expression</param>
 /// <param name="distinct">Whether a DISTINCT modifier applies</param>
 public MedianAggregate(VariableExpressionTerm expr, bool distinct)
     : base(expr, distinct)
 {
     this._varname = expr.ToString().Substring(1);
 }
コード例 #2
0
 /// <summary>
 /// Creates a new COUNT(DISTINCT ?x) Aggregate
 /// </summary>
 /// <param name="expr">Variable Expression</param>
 public CountDistinctAggregate(VariableExpressionTerm expr)
     : base(expr)
 {
     this._varname = expr.ToString().Substring(1);
 }