Class: Couchbase::Management::AnalyticsIndexManager::DropIndexOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|| ... } ⇒ DropIndexOptions

Returns a new instance of DropIndexOptions.

Yield Parameters:



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_nameString

Returns The name of the dataverse to use (defaults to nil).

Returns:

  • (String)

    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_existBoolean

Returns ignore if the index does not exists.

Returns:

  • (Boolean)

    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

#timeoutInteger

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

Returns:

  • (Integer)

    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