Uses of Class
com.couchbase.client.java.analytics.AnalyticsOptions
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various analytics-service related classes.
-
Uses of AnalyticsOptions in com.couchbase.client.java
Modifier and TypeMethodDescriptionAsyncCluster.analyticsQuery
(String statement, AnalyticsOptions options) Performs an Analytics query with customAnalyticsOptions
.AsyncScope.analyticsQuery
(String statement, AnalyticsOptions options) Performs an Analytics query with customAnalyticsOptions
.Cluster.analyticsQuery
(String statement, AnalyticsOptions options) Performs an analytics query with customAnalyticsOptions
.ReactiveCluster.analyticsQuery
(String statement, AnalyticsOptions options) Performs an Analytics query with customAnalyticsOptions
.ReactiveScope.analyticsQuery
(String statement, AnalyticsOptions options) Performs an Analytics query with customAnalyticsOptions
on a scopeScope.analyticsQuery
(String statement, AnalyticsOptions options) Performs an Analytics query with customAnalyticsOptions
on a scope -
Uses of AnalyticsOptions in com.couchbase.client.java.analytics
Modifier and TypeMethodDescriptionstatic AnalyticsOptions
AnalyticsOptions.analyticsOptions()
Creates newAnalyticsOptions
with all default params set.AnalyticsOptions.clientContextId
(String clientContextId) Supports providing a custom client context ID for this query.AnalyticsOptions.parameters
(JsonArray positional) Sets positional parameters for this query.AnalyticsOptions.parameters
(JsonObject named) Sets named parameters for this query.AnalyticsOptions.priority
(boolean priority) Allows assigning a different server-side priority to the current query.Allows providing custom JSON key/value pairs for advanced usage.AnalyticsOptions.readonly
(boolean readonly) Allows explicitly marking a query as being readonly and not mutating and documents on the server side.AnalyticsOptions.scanConsistency
(AnalyticsScanConsistency scanConsistency) Customizes the consistency guarantees for this query.Allows customizing how long the query engine is willing to wait until the index catches up to whatever scan consistency is asked for in this query.AnalyticsOptions.serializer
(JsonSerializer serializer) Provides a customJsonSerializer
to be used for decoding the rows as they return from the server.