Class: ArrowFormat::Dictionary

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow-format/dictionary.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#arrayObject (readonly)

Returns the value of attribute array.



21
22
23
# File 'lib/arrow-format/dictionary.rb', line 21

def array
  @array
end

#idObject (readonly)

Returns the value of attribute id.



20
21
22
# File 'lib/arrow-format/dictionary.rb', line 20

def id
  @id
end

#message_metadataObject (readonly)

Returns the value of attribute message_metadata.



22
23
24
# File 'lib/arrow-format/dictionary.rb', line 22

def 
  @message_metadata
end