MCPcopy Create free account
hub / github.com/brimdata/super / NewFusionEncoder

Function NewFusionEncoder

csup/fusion.go:21–27  ·  view source on GitHub ↗
(cctx *Context, typ *super.TypeFusion)

Source from the content-addressed store, hash-verified

19var _ Encoder = (*FusionEncoder)(nil)
20
21func NewFusionEncoder(cctx *Context, typ *super.TypeFusion) *FusionEncoder {
22 return &FusionEncoder{
23 cctx: cctx,
24 typ: typ,
25 values: NewEncoder(cctx, typ.Type),
26 }
27}
28
29func (f *FusionEncoder) Write(vec vector.Any) {
30 if vec.Len() == 0 {

Callers 1

NewEncoderFunction · 0.85

Calls 1

NewEncoderFunction · 0.70

Tested by

no test coverage detected