7 #ifndef NUMERICRANGEFILTER_H
8 #define NUMERICRANGEFILTER_H
33 static NumericRangeFilterPtr newLongRange(
const String& field, int32_t precisionStep, int64_t min, int64_t max,
bool minInclusive,
bool maxInclusive);
37 static NumericRangeFilterPtr newLongRange(
const String& field, int64_t min, int64_t max,
bool minInclusive,
bool maxInclusive);
40 static NumericRangeFilterPtr newIntRange(
const String& field, int32_t precisionStep, int32_t min, int32_t max,
bool minInclusive,
bool maxInclusive);
44 static NumericRangeFilterPtr newIntRange(
const String& field, int32_t min, int32_t max,
bool minInclusive,
bool maxInclusive);
47 static NumericRangeFilterPtr newDoubleRange(
const String& field, int32_t precisionStep,
double min,
double max,
bool minInclusive,
bool maxInclusive);
51 static NumericRangeFilterPtr newDoubleRange(
const String& field,
double min,
double max,
bool minInclusive,
bool maxInclusive);
57 static NumericRangeFilterPtr newNumericRange(
const String& field, int32_t precisionStep, NumericValue min, NumericValue max,
bool minInclusive,
bool maxInclusive);
63 static NumericRangeFilterPtr newNumericRange(
const String& field, NumericValue min, NumericValue max,
bool minInclusive,
bool maxInclusive);
75 NumericValue getMin();
78 NumericValue getMax();