Class: ArrowFormat::Dictionary
- Inherits:
-
Object
- Object
- ArrowFormat::Dictionary
- Defined in:
- lib/arrow-format/dictionary.rb
Instance Attribute Summary collapse
-
#array ⇒ Object
readonly
Returns the value of attribute array.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#message_metadata ⇒ Object
readonly
Returns the value of attribute message_metadata.
Instance Method Summary collapse
-
#initialize(id, array, message_metadata: nil) ⇒ Dictionary
constructor
A new instance of Dictionary.
Constructor Details
#initialize(id, array, message_metadata: nil) ⇒ Dictionary
Returns a new instance of Dictionary.
23 24 25 26 27 |
# File 'lib/arrow-format/dictionary.rb', line 23 def initialize(id, array, message_metadata: nil) @id = id @array = array @message_metadata = end |
Instance Attribute Details
#array ⇒ Object (readonly)
Returns the value of attribute array.
21 22 23 |
# File 'lib/arrow-format/dictionary.rb', line 21 def array @array end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
20 21 22 |
# File 'lib/arrow-format/dictionary.rb', line 20 def id @id end |
#message_metadata ⇒ Object (readonly)
Returns the value of attribute message_metadata.
22 23 24 |
# File 'lib/arrow-format/dictionary.rb', line 22 def @message_metadata end |