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

Method Close

db/writer.go:120–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118}
119
120func (w *Writer) Close() error {
121 // Send the last write (Note: we could reorder things so we do the
122 // record sort in this thread while waiting for the write to complete.)
123 if len(w.vals) > 0 {
124 w.flipBuffers()
125 }
126 // Wait for any pending write to finish.
127 return w.errgroup.Wait()
128}
129
130func (w *Writer) writeObject(object *data.Object, recs []super.Value) error {
131 var zr sio.Reader

Callers 7

runOneBoomerangFunction · 0.95
runFunction · 0.95
WriteBSUPFunction · 0.95
LoadMethod · 0.95
DeleteWhereMethod · 0.95
writeObjectMethod · 0.95
runInternalFunction · 0.95

Calls 2

flipBuffersMethod · 0.95
WaitMethod · 0.45

Tested by 1

runOneBoomerangFunction · 0.76