• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vortex-data / vortex / 17040114484

18 Aug 2025 12:07PM UTC coverage: 86.042% (-1.9%) from 87.913%
17040114484

Pull #4215

github

web-flow
Merge 4600ca5c4 into cb1a92920
Pull Request #4215: Ji/vectors

132 of 1817 new or added lines in 42 files covered. (7.26%)

125 existing lines in 26 files now uncovered.

56932 of 66168 relevant lines covered (86.04%)

611735.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/vortex-vector/src/selection.rs
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: Copyright the Vortex contributors
3

4
use crate::PIPELINE_STEP_COUNT;
5
use crate::bits::BitVector;
6

7
/// Defines a selection of elements from a view or vector.
8
#[derive(Clone, Debug)]
9
pub enum Selection {
10
    /// Select all elements in the vector from zero up to the given length.
11
    Prefix { len: usize },
12
    /// The element in the vector to be considered the constant value.
13
    Constant { element: usize, len: usize },
14
    /// Select from the vector using a mask, which is a bit array of length `N`.
15
    Mask(BitVector),
16
}
17

18
/// By default, select all `N` elements in the vector.
19
impl Default for Selection {
NEW
20
    fn default() -> Self {
×
NEW
21
        Selection::Prefix {
×
NEW
22
            len: PIPELINE_STEP_COUNT,
×
NEW
23
        }
×
NEW
24
    }
×
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc