Package com.redis.vl.query
Class Filter.NumericFilterBuilder
java.lang.Object
com.redis.vl.query.Filter.NumericFilterBuilder
- Enclosing class:
Filter
Builder for numeric filters
-
Method Summary
Modifier and TypeMethodDescriptionbetween(double min, double max) Create a filter for values between min and max (inclusive).between(int min, int max) Create a filter for values between min and max (inclusive).eq(double value) Create a filter for values equal to the specified value.eq(int value) Create a filter for values equal to the specified value.gt(double value) Create a filter for values greater than the specified value (exclusive).gt(int value) Create a filter for values greater than the specified value (exclusive).gte(double value) Create a filter for values greater than or equal to the specified value.gte(int value) Create a filter for values greater than or equal to the specified value.lt(double value) Create a filter for values less than the specified value (exclusive).lt(int value) Create a filter for values less than the specified value (exclusive).lte(double value) Create a filter for values less than or equal to the specified value.lte(int value) Create a filter for values less than or equal to the specified value.ne(double value) Create a filter for values not equal to the specified value.ne(int value) Create a filter for values not equal to the specified value.
-
Method Details
-
between
Create a filter for values between min and max (inclusive).- Parameters:
min- Minimum valuemax- Maximum value- Returns:
- Filter for range [min, max]
-
between
Create a filter for values between min and max (inclusive).- Parameters:
min- Minimum valuemax- Maximum value- Returns:
- Filter for range [min, max]
-
gt
Create a filter for values greater than the specified value (exclusive).- Parameters:
value- The value to compare against- Returns:
- Filter for values > value
-
gt
Create a filter for values greater than the specified value (exclusive).- Parameters:
value- The value to compare against- Returns:
- Filter for values > value
-
gte
Create a filter for values greater than or equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values >= value
-
gte
Create a filter for values greater than or equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values >= value
-
lt
Create a filter for values less than the specified value (exclusive).- Parameters:
value- The value to compare against- Returns:
- Filter for values < value
-
lt
Create a filter for values less than the specified value (exclusive).- Parameters:
value- The value to compare against- Returns:
- Filter for values < value
-
lte
Create a filter for values less than or equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values <= value
-
lte
Create a filter for values less than or equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values <= value
-
eq
Create a filter for values equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values == value
-
eq
Create a filter for values equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values == value
-
ne
Create a filter for values not equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values != value
-
ne
Create a filter for values not equal to the specified value.- Parameters:
value- The value to compare against- Returns:
- Filter for values != value
-