| 247 | } // namespace |
| 248 | |
| 249 | vector_size_t processFilterResults( |
| 250 | const VectorPtr& filterResult, |
| 251 | const SelectivityVector& rows, |
| 252 | FilterEvalCtx& filterEvalCtx, |
| 253 | memory::MemoryPool* pool) { |
| 254 | switch (filterResult->encoding()) { |
| 255 | case VectorEncoding::Simple::CONSTANT: |
| 256 | return processConstantFilterResults(filterResult, rows); |
| 257 | case VectorEncoding::Simple::FLAT: |
| 258 | return processFlatFilterResults(filterResult, rows, filterEvalCtx, pool); |
| 259 | default: |
| 260 | return processEncodedFilterResults( |
| 261 | filterResult, rows, filterEvalCtx, pool); |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | VectorPtr wrapChild( |
| 266 | vector_size_t size, |
no test coverage detected