Interface ParameterAccessor
- All Known Implementing Classes:
ParametersParameterAccessor
-
Method Summary
Modifier and TypeMethodDescription@Nullable Class<?> @Nullable ObjectgetBindableValue(int index) Returns the bindable value with the given index.default LimitgetLimit()default @Nullable ScoregetScore()@Nullable ScrollPositiongetSort()default @Nullable VectorbooleanReturns whether one of the bindable parameter values is null.iterator()Returns an iterator over all bindable parameters.Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getVector
-
getScore
-
getScoreRange
-
getScrollPosition
@Nullable ScrollPosition getScrollPosition()- Returns:
- the
ScrollPositionof the parameters, if available; null otherwise.
-
getPageable
Pageable getPageable()- Returns:
- the
Pageableof the parameters, if available;Pageable.unpaged()otherwise.
-
getSort
-
getLimit
-
findDynamicProjection
@Nullable Class<?> findDynamicProjection()- Returns:
- the dynamic projection type to be used when executing the query or null if none is defined.
- Since:
- 2.2
-
getBindableValue
Returns the bindable value with the given index. Bindable means, thatPageableandSortvalues are skipped without noticed in the index. For a method signature takingString,Pageable,String,#getBindableParameter(1)would return the secondStringvalue.- Parameters:
index-- Returns:
- the bindable value with the given index
-
hasBindableNullValue
boolean hasBindableNullValue()Returns whether one of the bindable parameter values is null.- Returns:
- true if one of the bindable parameter values is null.
-
iterator
-