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