Class: Couchbase::Management::Options::Analytics::DropIndex
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Analytics::DropIndex
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/analytics_index_manager.rb
Overview
Options for AnalyticsIndexManager#drop_index
Instance Attribute Summary collapse
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(ignore_if_does_not_exist: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ DropIndex
constructor
Creates an instance of options for AnalyticsIndexManager#drop_index.
Constructor Details
#initialize(ignore_if_does_not_exist: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ DropIndex
Creates an instance of options for AnalyticsIndexManager#drop_index
250 251 252 253 254 255 256 257 258 259 260 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 250 def initialize(ignore_if_does_not_exist: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) super(timeout: timeout, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span) @ignore_if_does_not_exist = ignore_if_does_not_exist @dataverse_name = dataverse_name yield self if block_given? end |
Instance Attribute Details
#dataverse_name ⇒ String
236 237 238 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 236 def dataverse_name @dataverse_name end |
#ignore_if_does_not_exist ⇒ Boolean
235 236 237 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 235 def ignore_if_does_not_exist @ignore_if_does_not_exist end |