Package com.couchbase.client.java.kv
Class LookupInAllReplicasOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<LookupInAllReplicasOptions>
com.couchbase.client.java.kv.LookupInAllReplicasOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static LookupInAllReplicasOptions
readPreference
(ReadPreference readPreference) Set a read preference for this operation.serializer
(JsonSerializer serializer) Allows to specify a custom serializer that is used to decode the content of the result.Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
lookupInAllReplicasOptions
-
serializer
Allows to specify a custom serializer that is used to decode the content of the result.- Parameters:
serializer
- the custom serializer that should be used for decoding.- Returns:
- the
LookupInAllReplicasOptions
to allow method chaining.
-
readPreference
Set a read preference for this operation.- Returns:
- this to allow method chaining.
- See Also:
-
build
-