-
Notifications
You must be signed in to change notification settings - Fork 1
/
rtype.go
63 lines (47 loc) · 1.01 KB
/
rtype.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
54
55
56
57
58
59
60
61
62
63
package value
import "github.com/deepfabric/vectorsql/pkg/vm/types"
func (a *Bool) ReturnType() uint32 {
return types.T_bool
}
func (a *Int) ReturnType() uint32 {
return types.T_int
}
func (a *Int8) ReturnType() uint32 {
return types.T_int8
}
func (a *Int16) ReturnType() uint32 {
return types.T_int16
}
func (a *Int32) ReturnType() uint32 {
return types.T_int32
}
func (a *Int64) ReturnType() uint32 {
return types.T_int64
}
func (a *Uint8) ReturnType() uint32 {
return types.T_uint8
}
func (a *Uint16) ReturnType() uint32 {
return types.T_uint16
}
func (a *Uint32) ReturnType() uint32 {
return types.T_uint32
}
func (a *Uint64) ReturnType() uint32 {
return types.T_uint64
}
func (a *Float) ReturnType() uint32 {
return types.T_float
}
func (a *Float32) ReturnType() uint32 {
return types.T_float32
}
func (a *Float64) ReturnType() uint32 {
return types.T_float64
}
func (a *String) ReturnType() uint32 {
return types.T_string
}
func (a *Timestamp) ReturnType() uint32 {
return types.T_timestamp
}