Class: Parqueteur::Types::Time64Type
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/time64_type.rb', line 12
def arrow_type_builder
Arrow::Time64DataType.new(
options.fetch(:unit, :second)
)
end
|
#build_value_array(values) ⇒ Object
6
7
8
9
10
|
# File 'lib/parqueteur/types/time64_type.rb', line 6
def build_value_array(values)
Arrow::Time64Array.new(
@options.fetch(:precision, :second), values
)
end
|