public class DropPrimaryQueryIndexOptions extends CommonOptions<DropPrimaryQueryIndexOptions>
Modifier and Type | Class and Description |
---|---|
class |
DropPrimaryQueryIndexOptions.Built |
CommonOptions.BuiltCommonOptions
Modifier and Type | Method and Description |
---|---|
DropPrimaryQueryIndexOptions.Built |
build() |
DropPrimaryQueryIndexOptions |
collectionName(String collectionName)
Deprecated.
`collection.queryIndexes()` should now be used for collection-related query index operations.
|
static DropPrimaryQueryIndexOptions |
dropPrimaryQueryIndexOptions()
Creates a new instance with default values.
|
DropPrimaryQueryIndexOptions |
ignoreIfNotExists(boolean ignore)
If the index does not exist, an exception will be thrown unless this is set to true.
|
DropPrimaryQueryIndexOptions |
scopeName(String scopeName)
Deprecated.
`collection.queryIndexes()` should now be used for collection-related query index operations.
|
clientContext, parentSpan, retryStrategy, self, timeout
public static DropPrimaryQueryIndexOptions dropPrimaryQueryIndexOptions()
public DropPrimaryQueryIndexOptions ignoreIfNotExists(boolean ignore)
@Deprecated public DropPrimaryQueryIndexOptions 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 DropPrimaryQueryIndexOptions 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 DropPrimaryQueryIndexOptions.Built build()
Copyright © 2024 Couchbase, Inc.. All rights reserved.