Ejemplo n.º 1
0
 protected string GetRangeQuery(Comparison lower, T min, Comparison upper, T max)
 {
     return(GetRangeQuery(ComparisonUtil.ComparisonToString(lower), min, ComparisonUtil.ComparisonToString(upper), max));
 }
Ejemplo n.º 2
0
 protected virtual string GetPointQuery(T value)
 {
     return(GetPointQuery(
                pointCmp != Comparison.Comparison_Unknown ? ComparisonUtil.ComparisonToString(pointCmp) : rand.Next(10) > 0 ? "=" : "!=",
                value));
 }
Ejemplo n.º 3
0
 protected virtual string GetPointQuery(Comparison point, T value)
 {
     return(GetPointQuery(ComparisonUtil.ComparisonToString(point), value));
 }
Ejemplo n.º 4
0
 protected FieldQueryBuilder(string fieldName, T value, string point, T min, T max, string lower, string upper, int seed) :
     this(fieldName, value, ComparisonUtil.StringToComparison(point), min, max, ComparisonUtil.StringToComparison(lower), ComparisonUtil.StringToComparison(upper), seed)
 {
 }