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
ConstructorDescriptionReactiveCouchbaseParameterAccessor
(CouchbaseQueryMethod method, Object[] values) -
Method Summary
Modifier and TypeMethodDescriptiongetBindableValue
(int index) Object[]
reactor.core.publisher.Mono<ReactiveCouchbaseParameterAccessor>
Resolve parameters that were provided through reactive wrapper types.Methods inherited from class org.springframework.data.repository.query.ParametersParameterAccessor
findDynamicProjection, getLimit, getPageable, getParameters, getScrollPosition, getSort, getValue, hasBindableNullValue, iterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ReactiveCouchbaseParameterAccessor
-
-
Method Details
-
getValues
- Overrides:
getValues
in classParametersParameterAccessor
-
getBindableValue
- Specified by:
getBindableValue
in interfaceParameterAccessor
- Overrides:
getBindableValue
in 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:
-