Class: Couchbase::Management::Options::Analytics::CreateIndex
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Analytics::CreateIndex
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/analytics_index_manager.rb
Overview
Options for AnalyticsIndexManager#create_index
Instance Attribute Summary collapse
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(ignore_if_exists: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ CreateIndex
constructor
Creates an instance of options for AnalyticsIndexManager#create_index.
Constructor Details
#initialize(ignore_if_exists: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ CreateIndex
Creates an instance of options for AnalyticsIndexManager#create_index
211 212 213 214 215 216 217 218 219 220 221 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 211 def initialize(ignore_if_exists: 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_exists = ignore_if_exists @dataverse_name = dataverse_name yield self if block_given? end |
Instance Attribute Details
#dataverse_name ⇒ String
197 198 199 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 197 def dataverse_name @dataverse_name end |
#ignore_if_exists ⇒ Boolean
196 197 198 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 196 def ignore_if_exists @ignore_if_exists end |