Class: Couchbase::Management::QueryIndexManager::DropPrimaryIndexOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::QueryIndexManager::DropPrimaryIndexOptions
- Defined in:
- lib/couchbase/management/query_index_manager.rb
Instance Attribute Summary collapse
-
#ignore_if_does_not_exist ⇒ Boolean
Do not raise error if the index does not exist.
-
#index_name ⇒ String
Name of the index.
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ DropPrimaryIndexOptions
constructor
A new instance of DropPrimaryIndexOptions.
Constructor Details
#initialize {|self| ... } ⇒ DropPrimaryIndexOptions
Returns a new instance of DropPrimaryIndexOptions.
228 229 230 231 |
# File 'lib/couchbase/management/query_index_manager.rb', line 228 def initialize @ignore_if_does_not_exist = false yield self if block_given? end |
Instance Attribute Details
#ignore_if_does_not_exist ⇒ Boolean
Returns do not raise error if the index does not exist.
222 223 224 |
# File 'lib/couchbase/management/query_index_manager.rb', line 222 def ignore_if_does_not_exist @ignore_if_does_not_exist end |
#index_name ⇒ String
Returns name of the index.
219 220 221 |
# File 'lib/couchbase/management/query_index_manager.rb', line 219 def index_name @index_name end |
#timeout ⇒ Integer
Returns the time in milliseconds allowed for the operation to complete.
225 226 227 |
# File 'lib/couchbase/management/query_index_manager.rb', line 225 def timeout @timeout end |