Class: Couchbase::Management::QueryIndexManager::DropIndexOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::QueryIndexManager::DropIndexOptions
- Defined in:
- lib/couchbase/management/query_index_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/query_index_manager.rb more...
Instance Attribute Summary collapse
-
#collection_name ⇒ String
The name of the collection.
-
#ignore_if_does_not_exist ⇒ Boolean
Do not raise error if the index does not exist.
-
#scope_name ⇒ String
The name of the scope.
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ DropIndexOptions
constructor
A new instance of DropIndexOptions.
Constructor Details
#initialize {|self| ... } ⇒ DropIndexOptions
Returns a new instance of DropIndexOptions.
242 243 244 245 |
# File 'lib/couchbase/management/query_index_manager.rb', line 242 def initialize @ignore_if_does_not_exist = false yield self if block_given? end |
Instance Attribute Details
#collection_name ⇒ String
Returns the name of the collection.
239 240 241 |
# File 'lib/couchbase/management/query_index_manager.rb', line 239 def collection_name @collection_name end |
#ignore_if_does_not_exist ⇒ Boolean
Returns do not raise error if the index does not exist.
230 231 232 |
# File 'lib/couchbase/management/query_index_manager.rb', line 230 def ignore_if_does_not_exist @ignore_if_does_not_exist end |
#scope_name ⇒ String
Returns the name of the scope.
236 237 238 |
# File 'lib/couchbase/management/query_index_manager.rb', line 236 def scope_name @scope_name end |
#timeout ⇒ Integer
Returns the time in milliseconds allowed for the operation to complete.
233 234 235 |
# File 'lib/couchbase/management/query_index_manager.rb', line 233 def timeout @timeout end |