forked from bippio/go-impala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cli_service-consts.go
54 lines (44 loc) · 1.03 KB
/
cli_service-consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Autogenerated by Thrift Compiler (0.12.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
package cli_service
import (
"bytes"
"context"
"reflect"
"fmt"
"github.com/apache/thrift/lib/go/thrift"
)
// (needed to ensure safety because of naive import list construction.)
var _ = thrift.ZERO
var _ = fmt.Printf
var _ = context.Background
var _ = reflect.DeepEqual
var _ = bytes.Equal
var PRIMITIVE_TYPES []TTypeId
var COMPLEX_TYPES []TTypeId
var COLLECTION_TYPES []TTypeId
var TYPE_NAMES map[TTypeId]string
func init() {
PRIMITIVE_TYPES = []TTypeId{
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, }
COMPLEX_TYPES = []TTypeId{
10, 11, 12, 13, 14, }
COLLECTION_TYPES = []TTypeId{
10, 11, }
TYPE_NAMES = map[TTypeId]string{
10: "ARRAY",
4: "BIGINT",
9: "BINARY",
0: "BOOLEAN",
6: "DOUBLE",
5: "FLOAT",
3: "INT",
11: "MAP",
2: "SMALLINT",
7: "STRING",
12: "STRUCT",
8: "TIMESTAMP",
1: "TINYINT",
13: "UNIONTYPE",
}
}