Class ClusterOptions
java.lang.Object
com.couchbase.columnar.client.java.ClusterOptions
A mutable builder for configuring the cluster's behavior.
-
Method Summary
Modifier and TypeMethodDescriptiondeserializer
(Deserializer deserializer) Sets the default deserializer for converting query result rows into Java objects.security
(Consumer<SecurityOptions> optionsCustomizer) srv
(boolean useDnsSrv) Specifies whether the SDK should treat the connection string address as a DNS SRV record.timeout
(Consumer<TimeoutOptions> optionsCustomizer)
-
Method Details
-
srv
Specifies whether the SDK should treat the connection string address as a DNS SRV record. Defaults to true. -
deserializer
Sets the default deserializer for converting query result rows into Java objects.If not specified, the SDK uses an instance of
JacksonDeserializer
backed by a JsonMapper.For complete control over the data conversion process, provide your own custom
Deserializer
implementation.Can be overridden on a per-query basis by calling
QueryOptions.deserializer(Deserializer)
. -
security
-
timeout
-