Class: Couchbase::Management::AnalyticsIndexManager::CreateIndexOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::AnalyticsIndexManager::CreateIndexOptions
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/analytics_index_manager.rb more...
Instance Attribute Summary collapse
-
#dataverse_name ⇒ String
The name of the dataverse to use (defaults to
nil
). -
#ignore_if_exists ⇒ Boolean
Ignore if the index already exists.
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ CreateIndexOptions
constructor
A new instance of CreateIndexOptions.
Constructor Details
#initialize {|| ... } ⇒ CreateIndexOptions
Returns a new instance of CreateIndexOptions.
311 312 313 314 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 311 def initialize @ignore_if_exists = false yield self if block_given? end |
Instance Attribute Details
#dataverse_name ⇒ String
Returns The name of the dataverse to use (defaults to nil
).
305 306 307 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 305 def dataverse_name @dataverse_name end |
#ignore_if_exists ⇒ Boolean
Returns ignore if the index already exists.
302 303 304 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 302 def ignore_if_exists @ignore_if_exists end |
#timeout ⇒ Integer
Returns the time in milliseconds allowed for the operation to complete.
308 309 310 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 308 def timeout @timeout end |