pub struct PartitionChunk {
pub key: PartitionKey,
pub batch: Arc<RecordBatch>,
pub rows: Range<usize>,
pub partition_ordinal: usize,
pub is_partition_start: bool,
pub is_partition_end: bool,
}Expand description
A contiguous chunk of rows belonging to one logical partition.
Fields§
§key: PartitionKeyPartition key for this chunk.
batch: Arc<RecordBatch>Shared record batch containing the rows.
rows: Range<usize>Row range in batch belonging to this chunk.
partition_ordinal: usizeZero-based ordinal of the logical partition in input order.
is_partition_start: boolTrue when this chunk starts a logical partition.
is_partition_end: boolTrue when this chunk ends a logical partition.
Implementations§
Trait Implementations§
Source§impl Clone for PartitionChunk
impl Clone for PartitionChunk
Source§fn clone(&self) -> PartitionChunk
fn clone(&self) -> PartitionChunk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PartitionChunk
impl RefUnwindSafe for PartitionChunk
impl Send for PartitionChunk
impl Sync for PartitionChunk
impl Unpin for PartitionChunk
impl UnsafeUnpin for PartitionChunk
impl UnwindSafe for PartitionChunk
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more