Class: Couchbase::Management::QueryIndexManager::DropIndexOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/query_index_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ DropIndexOptions

Returns a new instance of DropIndexOptions.

Yield Parameters:

[View source]

211
212
213
214
# File 'lib/couchbase/management/query_index_manager.rb', line 211

def initialize
  @ignore_if_does_not_exist = false
  yield self if block_given?
end

Instance Attribute Details

#ignore_if_does_not_existBoolean

Returns do not raise error if the index does not exist.

Returns:

  • (Boolean)

    do not raise error if the index does not exist


205
206
207
# File 'lib/couchbase/management/query_index_manager.rb', line 205

def ignore_if_does_not_exist
  @ignore_if_does_not_exist
end

#timeoutInteger

Returns the time in milliseconds allowed for the operation to complete.

Returns:

  • (Integer)

    the time in milliseconds allowed for the operation to complete


208
209
210
# File 'lib/couchbase/management/query_index_manager.rb', line 208

def timeout
  @timeout
end