Sha256: d9fe250a9cf92337df9b903f769e2cd80c1faf1e6c1de556012ffddc9cb6bc1f

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

#
# Autogenerated by Thrift Compiler (0.9.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#

require 'thrift'
require_relative 't_c_l_i_service_types'

module Hive2
  module Thrift
    PRIMITIVE_TYPES = Set.new([
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            15,
            16,
            17,
            18,
    ])

    COMPLEX_TYPES = Set.new([
            10,
            11,
            12,
            13,
            14,
    ])

    COLLECTION_TYPES = Set.new([
            10,
            11,
    ])

    TYPE_NAMES = {
            0 => %q"BOOLEAN",
            1 => %q"TINYINT",
            2 => %q"SMALLINT",
            3 => %q"INT",
            4 => %q"BIGINT",
            5 => %q"FLOAT",
            6 => %q"DOUBLE",
            7 => %q"STRING",
            8 => %q"TIMESTAMP",
            9 => %q"BINARY",
            10 => %q"ARRAY",
            11 => %q"MAP",
            12 => %q"STRUCT",
            13 => %q"UNIONTYPE",
            15 => %q"DECIMAL",
            16 => %q"NULL",
            17 => %q"DATE",
            18 => %q"VARCHAR",
    }

    CHARACTER_MAXIMUM_LENGTH = %q"characterMaximumLength"

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rbhive-0.5.3 lib/thrift/t_c_l_i_service_constants.rb
rbhive-0.5.2 lib/thrift/t_c_l_i_service_constants.rb
rbhive-0.5.1 lib/thrift/t_c_l_i_service_constants.rb
rbhive-0.5.0 lib/thrift/t_c_l_i_service_constants.rb