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

Method makeResult

runtime/vam/op/nestedloopjoin.go:163–170  ·  view source on GitHub ↗
(vecs ...vector.Any)

Source from the content-addressed store, hash-verified

161}
162
163func (n *nestedLoopJoin) makeResult(vecs ...vector.Any) vector.Any {
164 left, right := vecs[0], vecs[1]
165 typ := n.rctx.Sctx.MustLookupTypeRecord([]super.Field{
166 super.NewField(n.leftAlias, left.Type()),
167 super.NewField(n.rightAlias, right.Type()),
168 })
169 return vector.NewRecord(typ, []vector.Any{left, right}, left.Len())
170}
171
172func (n *nestedLoopJoin) makeHitsResult(vec vector.Any, hits *roaring.Bitmap) (vector.Any, bool) {
173 vecLen := uint64(vec.Len())

Callers

nothing calls this directly

Calls 5

NewFieldFunction · 0.92
NewRecordFunction · 0.92
MustLookupTypeRecordMethod · 0.80
TypeMethod · 0.65
LenMethod · 0.65

Tested by

no test coverage detected