Class: UU::ObjectStore::ObjectSchema::ObjectSchemaIndexAttributes
- Inherits:
-
UU::OS::REST::DTO
- Object
- UU::OS::REST::DTO
- UU::ObjectStore::ObjectSchema::ObjectSchemaIndexAttributes
- Defined in:
- uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_index_attributes.rb
Overview
DTO representing object schema index attributes.
Instance Attribute Summary (collapse)
-
- (Fixnum) current_size
Current size (in bytes) of index.
-
- (String) name
Index name.
-
- (Array<String>) object_attributes
List of uuObject attributes which compose created index.
-
- (TrueClass, FalseClass) unique
Flag if index is created as unique index.
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
- (Fixnum) current_size
Current size (in bytes) of index.
28 29 30 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_index_attributes.rb', line 28 def current_size @current_size end |
- (String) name
Index name.
24 25 26 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_index_attributes.rb', line 24 def name @name end |
- (Array<String>) object_attributes
List of uuObject attributes which compose created index. Each attribute may contain ASC or DESC keyword (e.g. "data.name DESC") to specify index order.
14 15 16 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_index_attributes.rb', line 14 def object_attributes @object_attributes end |
- (TrueClass, FalseClass) unique
Flag if index is created as unique index.
19 20 21 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_index_attributes.rb', line 19 def unique @unique end |