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

Method Encode

csup/encoder.go:18–18  ·  view source on GitHub ↗

Encode encodes all in-memory vector data into its storage-ready serialized format. Vectors may be encoded concurrently and errgroup.Group is used to sync and return errors.

(*errgroup.Group)

Source from the content-addressed store, hash-verified

16 // Vectors may be encoded concurrently and errgroup.Group is used to sync
17 // and return errors.
18 Encode(*errgroup.Group)
19 // Metadata returns the data structure conforming to the CSUP specification
20 // describing the layout of vectors. This is called after all data is
21 // written and encoded by the Encode with the result marshaled to build

Callers 15

MarshalJSONFileFunction · 0.95
ErrorMethod · 0.65
NewCoreFunction · 0.65
TestClientRedirectReplayFunction · 0.65
VacateMethod · 0.65
WriteControlMethod · 0.65
CallMethod · 0.65
resultMethod · 0.65
nextResultFromSpillsMethod · 0.65
readTableMethod · 0.65
EncodeMethod · 0.65

Implementers 10

FusionEncodercsup/fusion.go
RecordEncodercsup/record.go
FloatEncodercsup/float.go
IntEncodercsup/int.go
UintEncodercsup/int.go
UnionEncodercsup/union.go
ArrayEncodercsup/array.go
ScodeEncodercsup/scode.go
MapEncodercsup/map.go
BytesEncodercsup/bytes.go

Calls

no outgoing calls

Tested by 1

TestClientRedirectReplayFunction · 0.52