Package com.mongodb.client.model.search
Interface NumberRangeSearchOperatorBase
- All Known Subinterfaces:
NumberRangeSearchOperator
A base for a
NumberRangeSearchOperator
which allows creating instances of this operator.
This interface is a technicality and does not represent a meaningful element of the full-text search query syntax.-
Method Summary
Modifier and TypeMethodDescriptionCreates a newNumberRangeSearchOperator
that tests if values are within (l; ∞).Creates a newNumberRangeSearchOperator
that tests if values are within [l; ∞).Creates a newNumberRangeSearchOperator
that tests if values are within [l; u).Creates a newNumberRangeSearchOperator
that tests if values are within [l; u].Creates a newNumberRangeSearchOperator
that tests if values are within (l; u).Creates a newNumberRangeSearchOperator
that tests if values are within (l; u].Creates a newNumberRangeSearchOperator
that tests if values are within (-∞; u).Creates a newNumberRangeSearchOperator
that tests if values are within (-∞; u].
-
Method Details
-
gt
Creates a newNumberRangeSearchOperator
that tests if values are within (l; ∞).- Parameters:
l
- The lower bound.- Returns:
- A new
NumberRangeSearchOperator
.
-
lt
Creates a newNumberRangeSearchOperator
that tests if values are within (-∞; u).- Parameters:
u
- The upper bound.- Returns:
- A new
NumberRangeSearchOperator
.
-
gte
Creates a newNumberRangeSearchOperator
that tests if values are within [l; ∞).- Parameters:
l
- The lower bound.- Returns:
- A new
NumberRangeSearchOperator
.
-
lte
Creates a newNumberRangeSearchOperator
that tests if values are within (-∞; u].- Parameters:
u
- The upper bound.- Returns:
- A new
NumberRangeSearchOperator
.
-
gtLt
Creates a newNumberRangeSearchOperator
that tests if values are within (l; u).- Parameters:
l
- The lower bound.u
- The upper bound.- Returns:
- A new
NumberRangeSearchOperator
.
-
gteLte
Creates a newNumberRangeSearchOperator
that tests if values are within [l; u].- Parameters:
l
- The lower bound.u
- The upper bound.- Returns:
- A new
NumberRangeSearchOperator
.
-
gtLte
Creates a newNumberRangeSearchOperator
that tests if values are within (l; u].- Parameters:
l
- The lower bound.u
- The upper bound.- Returns:
- A new
NumberRangeSearchOperator
.
-
gteLt
Creates a newNumberRangeSearchOperator
that tests if values are within [l; u).- Parameters:
l
- The lower bound.u
- The upper bound.- Returns:
- A new
NumberRangeSearchOperator
.
-