Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ NewEnum
Function
NewEnum
vector/enum.go:12–14 ·
view source on GitHub ↗
(typ *super.TypeEnum, vals []uint64)
Source
from the content-addressed store, hash-verified
10
}
11
12
func
NewEnum(typ *super.TypeEnum, vals []uint64) *Enum {
13
return
&Enum{NewUint(super.TypeUint64, vals), typ}
14
}
15
16
func
(*Enum) Kind() Kind {
17
return
KindEnum
Callers
2
newVector
Method · 0.92
Build
Method · 0.85
Calls
1
NewUint
Function · 0.70
Tested by
no test coverage detected