Class: Couchbase::Management::Options::Query::DropPrimaryIndex
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Query::DropPrimaryIndex
- Defined in:
- lib/couchbase/management/query_index_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/query_index_manager.rb
Overview
Options for QueryIndexManager#drop_primary_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, scope_name: nil, collection_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ DropPrimaryIndex
constructor
Creates an instance of options for QueryIndexManager#drop_primary_index.
Constructor Details
#initialize(ignore_if_does_not_exist: false, scope_name: nil, collection_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ DropPrimaryIndex
Creates an instance of options for QueryIndexManager#drop_primary_index
240 241 242 243 244 245 246 247 248 249 250 251 252 |
# File 'lib/couchbase/management/query_index_manager.rb', line 240 def initialize(ignore_if_does_not_exist: false, scope_name: nil, collection_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 @scope_name = scope_name @collection_name = collection_name yield self if block_given? end |
Instance Attribute Details
#collection_name ⇒ String?
226 227 228 |
# File 'lib/couchbase/management/query_index_manager.rb', line 226 def collection_name @collection_name end |
#ignore_if_does_not_exist ⇒ Boolean
224 225 226 |
# File 'lib/couchbase/management/query_index_manager.rb', line 224 def ignore_if_does_not_exist @ignore_if_does_not_exist end |
#scope_name ⇒ String?
225 226 227 |
# File 'lib/couchbase/management/query_index_manager.rb', line 225 def scope_name @scope_name end |