Interface ExecutableFindByQueryOperation.FindByQueryWithConsistency<T>
- Type Parameters:
T- the entity type to use for the results.
- All Superinterfaces:
ExecutableFindByQueryOperation.FindByQueryConsistentWith<T>,ExecutableFindByQueryOperation.FindByQueryInCollection<T>,ExecutableFindByQueryOperation.FindByQueryInScope<T>,ExecutableFindByQueryOperation.FindByQueryWithOptions<T>,ExecutableFindByQueryOperation.FindByQueryWithQuery<T>,ExecutableFindByQueryOperation.TerminatingFindByQuery<T>,InCollection<T>,InScope<T>,OneAndAll<T>,WithConsistency<T>,WithQuery<T>,WithQueryOptions<T>
- All Known Subinterfaces:
ExecutableFindByQueryOperation.ExecutableFindByQuery<T>,ExecutableFindByQueryOperation.FindByQueryWithDistinct<T>,ExecutableFindByQueryOperation.FindByQueryWithProjecting<T>,ExecutableFindByQueryOperation.FindByQueryWithProjection<T>
- Enclosing interface:
- ExecutableFindByQueryOperation
public static interface ExecutableFindByQueryOperation.FindByQueryWithConsistency<T>
extends ExecutableFindByQueryOperation.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.ExecutableFindByQueryOperation.FindByQueryConsistentWith
consistentWithMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryInCollection
inCollectionMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryInScope
inScopeMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithOptions
withOptionsMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithQuery
matching, matchingMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.TerminatingFindByQuery
all, count, exists, first, firstValue, one, oneValue, stream
-
Method Details
-
withConsistency
ExecutableFindByQueryOperation.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.
-