Uses of Class
org.springframework.data.domain.Range
Packages that use Range
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.Value types representing geo-spatial concepts.
Support classes to work with query methods.
-
Uses of Range in org.springframework.data.domain
Methods in org.springframework.data.domain that return RangeModifier and TypeMethodDescriptionCreates aRange
from the given minimum and maximumScore
values.static Range<Similarity>
Similarity.between
(double minValue, double maxValue) Creates a newRange
by creating minimum and maximumSimilarity
from the given valueswithout specifying
a specific scoring function.static Range<Similarity>
Similarity.between
(double minValue, double maxValue, ScoringFunction function) Creates aRange
ofSimilarity
values using raw values and a specified scoring function.static Range<Similarity>
Similarity.between
(Similarity min, Similarity max) Creates aRange
between the givenSimilarity
.static <T> Range<T>
Range.closed
(T from, T to) Creates a newRange
with inclusive bounds for both values.static <T> Range<T>
Range.just
(T value) Creates a new Range with the given value as sole member.static <T> Range<T>
Range.leftOpen
(T from, T to) Creates a new left-openRange
, i.e. left exclusive, right inclusive.static <T> Range<T>
Range.leftUnbounded
(Range.Bound<T> to) Creates a left-unboundedRange
(the left bound set toRange.Bound.unbounded()
) with the given right bound.<R> Range<R>
Apply a mappingFunction
to the lower and upper boundary values.static <T> Range<T>
Range.of
(Range.Bound<T> lowerBound, Range.Bound<T> upperBound) Creates a newRange
with the given lower and upper bound.static <T> Range<T>
Range.open
(T from, T to) Creates a newRange
with exclusive bounds for both values.static <T> Range<T>
Range.rightOpen
(T from, T to) Creates a new right-openRange
, i.e. left inclusive, right exclusive.static <T> Range<T>
Range.rightUnbounded
(Range.Bound<T> from) Creates a right-unboundedRange
(the right bound set toRange.Bound.unbounded()
) with the given left bound.Range.RangeBuilder.to
(Range.Bound<T> upper) Create aRange
given the upperRange.Bound
.static <T> Range<T>
Range.unbounded()
Returns an unboundedRange
. -
Uses of Range in org.springframework.data.geo
Methods in org.springframework.data.geo that return RangeModifier and TypeMethodDescription -
Uses of Range in org.springframework.data.repository.query
Methods in org.springframework.data.repository.query that return RangeModifier and TypeMethodDescriptionParameterAccessor.getScoreRange()
ParametersParameterAccessor.getScoreRange()