Interface ReactiveFindByQueryOperation.FindByQueryWithConsistency<T>
- Type Parameters:
T- the entity type to use for the results.
- All Superinterfaces:
InCollection<T>,InScope<T>,OneAndAllReactive<T>,ReactiveFindByQueryOperation.FindByQueryConsistentWith<T>,ReactiveFindByQueryOperation.FindByQueryInCollection<T>,ReactiveFindByQueryOperation.FindByQueryInScope<T>,ReactiveFindByQueryOperation.FindByQueryWithOptions<T>,ReactiveFindByQueryOperation.FindByQueryWithQuery<T>,ReactiveFindByQueryOperation.TerminatingFindByQuery<T>,WithConsistency<T>,WithQuery<T>,WithQueryOptions<T>
- All Known Subinterfaces:
ReactiveFindByQueryOperation.FindByQueryWithDistinct<T>,ReactiveFindByQueryOperation.FindByQueryWithProjecting<T>,ReactiveFindByQueryOperation.FindByQueryWithProjection<T>,ReactiveFindByQueryOperation.ReactiveFindByQuery<T>
- Enclosing interface:
- ReactiveFindByQueryOperation
public static interface ReactiveFindByQueryOperation.FindByQueryWithConsistency<T>
extends ReactiveFindByQueryOperation.FindByQueryConsistentWith<T>, WithConsistency<T>
Fluent method to specify scan consistency. Scan consistency may also come from an annotation.
-
Method Summary
Modifier and TypeMethodDescriptionwithConsistency(com.couchbase.client.java.query.QueryScanConsistency scanConsistency) Allows to override the default scan consistency.Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryConsistentWith
consistentWithMethods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryInCollection
inCollectionMethods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryInScope
inScopeMethods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryWithOptions
withOptionsMethods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryWithQuery
matching, matching
-
Method Details
-
withConsistency
ReactiveFindByQueryOperation.FindByQueryConsistentWith<T> withConsistency(com.couchbase.client.java.query.QueryScanConsistency scanConsistency) Allows to override the default scan consistency.- Specified by:
withConsistencyin interfaceWithConsistency<T>- Parameters:
scanConsistency- the custom scan consistency to use for this query.
-