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

vortex-data / vortex / 16969983197

14 Aug 2025 03:45PM UTC coverage: 85.882% (-1.8%) from 87.693%
16969983197

Pull #4215

github

web-flow
Merge 6636736da into f547cbca5
Pull Request #4215: Ji/vectors

80 of 1729 new or added lines in 38 files covered. (4.63%)

117 existing lines in 25 files now uncovered.

56994 of 66363 relevant lines covered (85.88%)

609331.7 hits per line

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

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

4
use crate::pipeline::N;
5
use crate::pipeline::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: N }
×
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