Class ReactiveCouchbaseParameterAccessor
java.lang.Object
org.springframework.data.repository.query.ParametersParameterAccessor
org.springframework.data.couchbase.repository.query.ReactiveCouchbaseParameterAccessor
- All Implemented Interfaces:
Iterable<Object>, ParameterAccessor
Reactive
ParametersParameterAccessor implementation that subscribes
to reactive parameter wrapper types upon creation. This class performs synchronization when accessing parameters.- Since:
- 3.0
- Author:
- Subhashni Balakrishnan, Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveCouchbaseParameterAccessor(CouchbaseQueryMethod method, Object[] values) -
Method Summary
Modifier and TypeMethodDescriptiongetBindableValue(int index) Object[]Resolve parameters that were provided through reactive wrapper types.Methods inherited from class ParametersParameterAccessor
findDynamicProjection, getLimit, getPageable, getParameters, getScore, getScoreRange, getScrollPosition, getSort, getValue, getVector, hasBindableNullValue, iteratorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
ReactiveCouchbaseParameterAccessor
-
-
Method Details
-
getValues
- Overrides:
getValuesin classParametersParameterAccessor
-
getBindableValue
- Specified by:
getBindableValuein interfaceParameterAccessor- Overrides:
getBindableValuein classParametersParameterAccessor
-
resolveParameters
Resolve parameters that were provided through reactive wrapper types. Flux is collected into a list, values from Mono's are used directly.- Returns:
-