(sctx *super.Context, batch Batch)
| 53 | } |
| 54 | |
| 55 | func Dematerialize(sctx *super.Context, batch Batch) vector.Any { |
| 56 | builder := vector.NewDynamicBuilder() |
| 57 | for _, val := range batch.Values() { |
| 58 | builder.Write(val) |
| 59 | } |
| 60 | return builder.Build(sctx) |
| 61 | } |
| 62 | |
| 63 | func ValToVec(sctx *super.Context, val super.Value) vector.Any { |
| 64 | builder := vector.NewDynamicBuilder() |