MCPcopy
hub / github.com/lindb/lindb / StreamWriter

Method StreamWriter

kv/flusher.go:100–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func (sf *storeFlusher) StreamWriter() (table.StreamWriter, error) {
101 if err := sf.checkBuilder(); err != nil {
102 metrics.FlushStatistics.Failure.Incr()
103 return nil, err
104 }
105 return sf.builder.StreamWriter(), nil
106}
107
108// Commit flushes data and commits metadata.
109func (sf *storeFlusher) Commit() (err error) {

Callers

nothing calls this directly

Calls 3

checkBuilderMethod · 0.95
StreamWriterMethod · 0.65
IncrMethod · 0.45

Tested by

no test coverage detected