public class WatchQueryIndexesOptions extends CommonOptions<WatchQueryIndexesOptions>
Modifier and Type | Class and Description |
---|---|
class |
WatchQueryIndexesOptions.Built |
CommonOptions.BuiltCommonOptions
Modifier and Type | Method and Description |
---|---|
WatchQueryIndexesOptions.Built |
build() |
WatchQueryIndexesOptions |
collectionName(String collectionName)
Deprecated.
|
WatchQueryIndexesOptions |
scopeName(String scopeName)
Deprecated.
`collection.queryIndexes()` should now be used for collection-related query index operations.
|
WatchQueryIndexesOptions |
watchPrimary(boolean watchPrimary)
Deprecated.
`collection.queryIndexes()` should now be used for collection-related query index operations.
|
static WatchQueryIndexesOptions |
watchQueryIndexesOptions()
Creates a new instance with default values.
|
clientContext, parentSpan, retryStrategy, self, timeout
public static WatchQueryIndexesOptions watchQueryIndexesOptions()
public WatchQueryIndexesOptions watchPrimary(boolean watchPrimary)
Note that if the bucket has no primary index, the watch operation will fail with a IndexNotFoundException
.
watchPrimary
- if the primary index should be included in the watch.@Deprecated public WatchQueryIndexesOptions scopeName(String scopeName)
Please note that if the scope name is set, the collectionName(String)
(String)} must also be set.
scopeName
- the name of the scope.@Deprecated public WatchQueryIndexesOptions collectionName(String collectionName)
Please note that if the collection name is set, the scopeName(String)
must also be set.
collectionName
- the name of the collection.@Stability.Internal public WatchQueryIndexesOptions.Built build()
Copyright © 2024 Couchbase, Inc.. All rights reserved.