pub type ConcatPlan = Plan<Concat>;Expand description
A plan that concatenates its children row-wise.
Aliased Type§
pub struct ConcatPlan { /* private fields */ }Implementations§
Source§impl ConcatPlan
impl ConcatPlan
Sourcepub unsafe fn from_slots_unchecked(
dtype: DType,
row_count: u64,
row_offsets: Arc<[u64]>,
slots: PlanSlots,
) -> Self
pub unsafe fn from_slots_unchecked( dtype: DType, row_count: u64, row_offsets: Arc<[u64]>, slots: PlanSlots, ) -> Self
Creates a concatenation from potentially unbuilt slots, one per chunk, without validation.
§Safety
Every slot must be present with dtype; row_offsets must contain the cumulative row
offset of every chunk; and the sum of all chunk row counts must equal row_count without
overflow.
Sourcepub fn try_new(dtype: DType, children: Vec<PlanRef>) -> VortexResult<Self>
pub fn try_new(dtype: DType, children: Vec<PlanRef>) -> VortexResult<Self>
Creates a concatenation over children.
Every child must produce dtype, and the row domain is the sum of the child row counts.
Sourcepub fn row_offsets(&self) -> &[u64]
pub fn row_offsets(&self) -> &[u64]
Returns the first row of each child within this plan’s row domain.