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[]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, iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.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:
-