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

Method NewVectorWriter

db/data/vector.go:71–73  ·  view source on GitHub ↗
(ctx context.Context, engine storage.Engine, path *storage.URI)

Source from the content-addressed store, hash-verified

69}
70
71func (o *Object) NewVectorWriter(ctx context.Context, engine storage.Engine, path *storage.URI) (*VectorWriter, error) {
72 return NewVectorWriter(ctx, engine, path, o.ID)
73}
74
75func NewVectorWriter(ctx context.Context, engine storage.Engine, path *storage.URI, id ksuid.KSUID) (*VectorWriter, error) {
76 put, err := engine.Put(ctx, VectorURI(path, id))

Callers 1

newWriterMethod · 0.95

Calls 1

NewVectorWriterFunction · 0.85

Tested by

no test coverage detected