Class: Couchbase::Management::QueryIndexManager::DropPrimaryIndexOptions

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| ... } ⇒ DropPrimaryIndexOptions

Returns a new instance of DropPrimaryIndexOptions.

Yield Parameters:



265
266
267
268
# File 'lib/couchbase/management/query_index_manager.rb', line 265

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

Instance Attribute Details

#collection_nameString

Returns the name of the collection.

Returns:

  • (String)

    the name of the collection



262
263
264
# File 'lib/couchbase/management/query_index_manager.rb', line 262

def collection_name
  @collection_name
end

#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



253
254
255
# File 'lib/couchbase/management/query_index_manager.rb', line 253

def ignore_if_does_not_exist
  @ignore_if_does_not_exist
end

#index_nameString

Returns name of the index.

Returns:

  • (String)

    name of the index



250
251
252
# File 'lib/couchbase/management/query_index_manager.rb', line 250

def index_name
  @index_name
end

#scope_nameString

Returns the name of the scope.

Returns:

  • (String)

    the name of the scope



259
260
261
# File 'lib/couchbase/management/query_index_manager.rb', line 259

def scope_name
  @scope_name
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



256
257
258
# File 'lib/couchbase/management/query_index_manager.rb', line 256

def timeout
  @timeout
end