module Presto::Decoder

Extended Modules

Defined in:

presto/decoder.cr

Constant Summary

TYPE_CONVERSION = {"boolean" => BoolDecoder, "tinyint" => Int32Decoder, "smallint" => Int32Decoder, "integer" => Int32Decoder, "bigint" => Int64Decoder, "real" => Float32Decoder, "double" => Float64Decoder, "varchar" => StringDecoder, "char" => StringDecoder, "varbinary" => StringDecoder, "json" => JsonDecoder, "date" => DateDecoder, "time" => TimeDecoder, "time with time zone" => TimeWithZoneDecoder, "timestamp" => TimestampDecoder, "timestamp with time zone" => TimestampWithTimeZoneDecoder, "interval year to month" => IntervalYearToMonthDecoder, "interval day to second" => IntervalDayToSecondDecoder}

Instance Method Summary

Macro Summary

Instance Method Detail

def decode_value(query_result, row_index, column_index) #

[View source]

Macro Detail

macro define_decoders(hash) #

[View source]