Class: Couchbase::Management::AnalyticsIndexManager::DropIndexOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::AnalyticsIndexManager::DropIndexOptions
- 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_does_not_exist ⇒ Boolean
Ignore if the index does not exists.
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ DropIndexOptions
constructor
A new instance of DropIndexOptions.
Constructor Details
#initialize {|| ... } ⇒ DropIndexOptions
Returns a new instance of DropIndexOptions.
328 329 330 331 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 328 def initialize @ignore_if_does_not_exist = false yield self if block_given? end |
Instance Attribute Details
#dataverse_name ⇒ String
Returns The name of the dataverse to use (defaults to nil
).
322 323 324 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 322 def dataverse_name @dataverse_name end |
#ignore_if_does_not_exist ⇒ Boolean
Returns ignore if the index does not exists.
319 320 321 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 319 def ignore_if_does_not_exist @ignore_if_does_not_exist end |
#timeout ⇒ Integer
Returns the time in milliseconds allowed for the operation to complete.
325 326 327 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 325 def timeout @timeout end |