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
consistentWith
Methods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryInCollection
inCollection
Methods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryInScope
inScope
Methods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithOptions
withOptions
Methods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithQuery
matching, matching
Methods 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:
withConsistency
in interfaceWithConsistency<T>
- Parameters:
scanConsistency
- the custom scan consistency to use for this query.
-