7 #ifndef NUMERICRANGEFILTER_H
8 #define NUMERICRANGEFILTER_H
34 static NumericRangeFilterPtr newLongRange(
const String& field, int32_t precisionStep, int64_t min, int64_t max,
bool minInclusive,
bool maxInclusive);
38 static NumericRangeFilterPtr newLongRange(
const String& field, int64_t min, int64_t max,
bool minInclusive,
bool maxInclusive);
41 static NumericRangeFilterPtr newIntRange(
const String& field, int32_t precisionStep, int32_t min, int32_t max,
bool minInclusive,
bool maxInclusive);
45 static NumericRangeFilterPtr newIntRange(
const String& field, int32_t min, int32_t max,
bool minInclusive,
bool maxInclusive);
48 static NumericRangeFilterPtr newDoubleRange(
const String& field, int32_t precisionStep,
double min,
double max,
bool minInclusive,
bool maxInclusive);
52 static NumericRangeFilterPtr newDoubleRange(
const String& field,
double min,
double max,
bool minInclusive,
bool maxInclusive);
58 static NumericRangeFilterPtr newNumericRange(
const String& field, int32_t precisionStep, NumericValue min, NumericValue max,
bool minInclusive,
bool maxInclusive);
64 static NumericRangeFilterPtr newNumericRange(
const String& field, NumericValue min, NumericValue max,
bool minInclusive,
bool maxInclusive);
76 NumericValue getMin();
79 NumericValue getMax();