Sha256: 16be4da8847d0e23603b1cf6d9de34b86762c57a7091a7e7f956516d96227645

Contents?: true

Size: 1.21 KB

Versions: 11

Compression:

Stored size: 1.21 KB

Contents

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

require 'thrift'
require 'cli_service_types'

module Impala
  module Protocol
    module Hive
      PRIMITIVE_TYPES = Set.new([
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9,
                15,
      ])

      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",
      }

    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
impala-0.5.1 lib/impala/protocol/cli_service_constants.rb
impala-0.5.0 lib/impala/protocol/cli_service_constants.rb
sequel-impala-1.0.1 lib/impala/protocol/cli_service_constants.rb
sequel-impala-1.0.0 lib/impala/protocol/cli_service_constants.rb
impala-0.4.3 lib/impala/protocol/cli_service_constants.rb
impala-0.4.2 lib/impala/protocol/cli_service_constants.rb
impala-0.4.1 lib/impala/protocol/cli_service_constants.rb
impala-0.4.0 lib/impala/protocol/cli_service_constants.rb
impala-0.3.1 lib/impala/protocol/cli_service_constants.rb
impala-0.3.0 lib/impala/protocol/cli_service_constants.rb
impala-0.2.0 lib/impala/protocol/cli_service_constants.rb