Class: UU::ObjectStore::ObjectSchema::ObjectSchemaAttributes
- Inherits:
-
UU::OS::REST::DTO
- Object
- UU::OS::REST::DTO
- UU::ObjectStore::ObjectSchema::ObjectSchemaAttributes
- Defined in:
- uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb
Overview
DTO representing object schema attributes.
Instance Attribute Summary (collapse)
-
- (String) code
Code of the object schema.
-
- (Fixnum) current_count
Current count of uuObjects stored within schema.
-
- (Fixnum) current_size
Current size (in megabytes) of data stored within schema.
-
- (String) data_key_attribute
Name of alternative data key attribute to be used instead of default
data_key
attribute of uuObject. -
- (String) description
Description of the object schema.
-
- (Fixnum) max_object_size
Maximal size of uuObjects (in bytes) stored within schema.
-
- (Fixnum) max_result_page_size
Maximal size of result page (number of uuObjects returned by query in single page).
-
- (String) name
Name of the object schema.
-
- (UU::OS::UESURI) object_store_uri
URI of object store to which object schema belongs.
-
- (UU::OS::UESURI) uri
URI of the object schema.
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) code
Code of the object schema.
21 22 23 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 21 def code @code end |
- (Fixnum) current_count
Current count of uuObjects stored within schema.
29 30 31 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 29 def current_count @current_count end |
- (Fixnum) current_size
Current size (in megabytes) of data stored within schema. Size includes not only size of stored uuObjects but also size of corresponding indexes and internal meta-data.
34 35 36 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 34 def current_size @current_size end |
- (String) data_key_attribute
Name of alternative data key attribute to be used instead of default
data_key
attribute of uuObject.
43 44 45 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 43 def data_key_attribute @data_key_attribute end |
- (String) description
Description of the object schema.
25 26 27 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 25 def description @description end |
- (Fixnum) max_object_size
Maximal size of uuObjects (in bytes) stored within schema.
47 48 49 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 47 def max_object_size @max_object_size end |
- (Fixnum) max_result_page_size
Maximal size of result page (number of uuObjects returned by query in single page).
51 52 53 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 51 def max_result_page_size @max_result_page_size end |
- (String) name
Name of the object schema.
17 18 19 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 17 def name @name end |
- (UU::OS::UESURI) object_store_uri
URI of object store to which object schema belongs.
38 39 40 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 38 def object_store_uri @object_store_uri end |
- (UU::OS::UESURI) uri
URI of the object schema.
13 14 15 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_attributes.rb', line 13 def uri @uri end |