Class: UU::ObjectStore::ObjectSchema::ObjectSchemaDeleteIndex

Inherits:
UU::OS::REST::DTO show all
Defined in:
uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_delete_index.rb

Overview

DTO for deletion of the index for object schema.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from UU::OS::REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (String) name

Name of index to be deleted. In case there is no index matching given name, exception is thrown. Index can be also deleted by listing of particular indexed uuObject attributes in which case this parameter should not be set.

Parameters:

  • (String)

Returns:

  • (String)


25
26
27
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_delete_index.rb', line 25

def name
  @name
end

- (Array<String>) object_attributes

List of uuObject attributes which compose index to be deleted. In case there is no index matching given attributes (and ordering), exception is thrown. Index can be also deleted by name in which case this parameter should not be set.

Parameters:

  • (Array<String>)

Returns:

  • (Array<String>)


17
18
19
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_delete_index.rb', line 17

def object_attributes
  @object_attributes
end