class Parqueteur::Types::TimestampType

Public Instance Methods

arrow_type_builder() click to toggle source
# File lib/parqueteur/types/timestamp_type.rb, line 17
def arrow_type_builder
  Arrow::TimestampDataType.new(
    options.fetch(:unit, :second)
  )
end
build_value_array(values) click to toggle source
# File lib/parqueteur/types/timestamp_type.rb, line 11
def build_value_array(values)
  Arrow::TimestampArray.new(
    options.fetch(:unit, :second), values
  )
end