rbhive 0.2.95 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,66 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.9.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require_relative 't_c_l_i_service_types'
9
+
10
+ module Hive2
11
+ module Thrift
12
+ PRIMITIVE_TYPES = Set.new([
13
+ 0,
14
+ 1,
15
+ 2,
16
+ 3,
17
+ 4,
18
+ 5,
19
+ 6,
20
+ 7,
21
+ 8,
22
+ 9,
23
+ 15,
24
+ 16,
25
+ 17,
26
+ 18,
27
+ ])
28
+
29
+ COMPLEX_TYPES = Set.new([
30
+ 10,
31
+ 11,
32
+ 12,
33
+ 13,
34
+ 14,
35
+ ])
36
+
37
+ COLLECTION_TYPES = Set.new([
38
+ 10,
39
+ 11,
40
+ ])
41
+
42
+ TYPE_NAMES = {
43
+ 0 => %q"BOOLEAN",
44
+ 1 => %q"TINYINT",
45
+ 2 => %q"SMALLINT",
46
+ 3 => %q"INT",
47
+ 4 => %q"BIGINT",
48
+ 5 => %q"FLOAT",
49
+ 6 => %q"DOUBLE",
50
+ 7 => %q"STRING",
51
+ 8 => %q"TIMESTAMP",
52
+ 9 => %q"BINARY",
53
+ 10 => %q"ARRAY",
54
+ 11 => %q"MAP",
55
+ 12 => %q"STRUCT",
56
+ 13 => %q"UNIONTYPE",
57
+ 15 => %q"DECIMAL",
58
+ 16 => %q"NULL",
59
+ 17 => %q"DATE",
60
+ 18 => %q"VARCHAR",
61
+ }
62
+
63
+ CHARACTER_MAXIMUM_LENGTH = %q"characterMaximumLength"
64
+
65
+ end
66
+ end