Class: Parqueteur::Types::Time32Type
Instance Attribute Summary
#arrow_type, #options
Instance Method Summary
collapse
#initialize, #resolve
Instance Method Details
#arrow_type_builder ⇒ Object
12
13
14
15
16
|
# File 'lib/parqueteur/types/time32_type.rb', line 12
def arrow_type_builder
Arrow::Time32DataType.new(
options.fetch(:unit, :second)
)
end
|
#build_value_array(values) ⇒ Object
6
7
8
9
10
|
# File 'lib/parqueteur/types/time32_type.rb', line 6
def build_value_array(values)
Arrow::Time32Array.new(
@options.fetch(:precision, :second), values
)
end
|