RDFLimitModifier is a modifier which applies an upper-bound counter to the number of query results to be considered.
Inheritance: RDFModifier
Ejemplo n.º 1
0
 /// <summary>
 /// Adds the given modifier to the query
 /// </summary>
 public RDFConstructQuery AddModifier(RDFLimitModifier modifier)
 {
     if (modifier != null) {
         if (!this.Modifiers.Any(m => m is RDFLimitModifier)) {
              this.Modifiers.Add(modifier);
         }
     }
     return this;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds the given modifier to the query
 /// </summary>
 public RDFDescribeQuery AddModifier(RDFLimitModifier modifier)
 {
     if (modifier != null)
     {
         if (!this.GetModifiers().Any(m => m is RDFLimitModifier))
         {
             this.QueryMembers.Add(modifier);
         }
     }
     return(this);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Adds the given modifier to the query
 /// </summary>
 public RDFConstructQuery AddModifier(RDFLimitModifier modifier)
 {
     if (modifier != null)
     {
         if (!this.Modifiers.Any(m => m is RDFLimitModifier))
         {
             this.Modifiers.Add(modifier);
         }
     }
     return(this);
 }