7 #ifndef FIELDCACHERANGEFILTER_H
8 #define FIELDCACHERANGEFILTER_H
55 static FieldCacheRangeFilterPtr newStringRange(
const String& field,
const String& lowerVal,
const String& upperVal,
bool includeLower,
bool includeUpper);
60 static FieldCacheRangeFilterPtr newByteRange(
const String& field, uint8_t lowerVal, uint8_t upperVal,
bool includeLower,
bool includeUpper);
70 static FieldCacheRangeFilterPtr newIntRange(
const String& field, int32_t lowerVal, int32_t upperVal,
bool includeLower,
bool includeUpper);
80 static FieldCacheRangeFilterPtr newLongRange(
const String& field, int64_t lowerVal, int64_t upperVal,
bool includeLower,
bool includeUpper);
90 static FieldCacheRangeFilterPtr newDoubleRange(
const String& field,
double lowerVal,
double upperVal,
bool includeLower,
bool includeUpper);
97 virtual String toString() = 0;
99 virtual int32_t hashCode() = 0;
102 virtual String getField();
105 virtual bool includesLower();
108 virtual bool includesUpper();