Exemplo n.º 1
0
 /// <summary>
 /// Creates a new MODE Aggregate.
 /// </summary>
 /// <param name="expr">Variable Expression.</param>
 /// <param name="distinct">Whether a DISTINCT modifier applies.</param>
 public ModeAggregate(VariableTerm expr, bool distinct)
     : base(expr, distinct)
 {
     _varname = expr.ToString().Substring(1);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new COUNT Aggregate
 /// </summary>
 /// <param name="expr">Variable Expression</param>
 public CountAggregate(VariableTerm expr)
     : base(expr)
 {
     this._varname = expr.ToString().Substring(1);
 }
 /// <summary>
 /// Creates a new COUNT(DISTINCT ?x) Aggregate.
 /// </summary>
 /// <param name="expr">Variable Expression.</param>
 public CountDistinctAggregate(VariableTerm expr)
     : base(expr)
 {
     _varname = expr.ToString().Substring(1);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Creates a new NMIN Aggregate
 /// </summary>
 /// <param name="expr">Variable Expression</param>
 /// <param name="distinct">Whether a DISTINCT modifier applies</param>
 public NumericMinAggregate(VariableTerm expr, bool distinct)
     : base(expr, distinct)
 {
     this._varname = expr.ToString().Substring(1);
 }