(sctx *super.Context, mf *metafilter, o *csup.Object)
| 120 | } |
| 121 | |
| 122 | func pruneObject(sctx *super.Context, mf *metafilter, o *csup.Object) bool { |
| 123 | vals := o.ProjectMetadata(sctx, mf.projection) |
| 124 | for _, val := range vals { |
| 125 | if mf.filter.Eval(val).Ptr().AsBool() { |
| 126 | return false |
| 127 | } |
| 128 | } |
| 129 | return true |
| 130 | } |
| 131 | |
| 132 | func (v *VectorReader) close() error { |
| 133 | if v.hasClosed { |
no test coverage detected