MCPcopy 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
12func NewEnum(typ *super.TypeEnum, vals []uint64) *Enum {
13 return &Enum{NewUint(super.TypeUint64, vals), typ}
14}
15
16func (*Enum) Kind() Kind {
17 return KindEnum

Callers 2

newVectorMethod · 0.92
BuildMethod · 0.85

Calls 1

NewUintFunction · 0.70

Tested by

no test coverage detected