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

vortex-data / vortex / 17045759575

18 Aug 2025 03:57PM UTC coverage: 86.067% (-1.8%) from 87.913%
17045759575

Pull #4215

github

web-flow
Merge 90bf5f689 into 7eb8ac9fa
Pull Request #4215: Ji/vectors

136 of 1803 new or added lines in 42 files covered. (7.54%)

125 existing lines in 26 files now uncovered.

56919 of 66133 relevant lines covered (86.07%)

612059.41 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::SC;
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 { len: SC }
×
NEW
22
    }
×
23
}
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