Skip to main content

SegmentScanPlan

Type Alias SegmentScanPlan 

Source
pub type SegmentScanPlan = Plan<SegmentScan>;
Expand description

A plan that reads one serialized array segment.

Aliased Type§

pub struct SegmentScanPlan { /* private fields */ }

Implementations§

Source§

impl SegmentScanPlan

Source

pub fn new( dtype: DType, row_count: u64, segment_id: SegmentId, array_ctx: ReadContext, array_tree: Option<ByteBuffer>, ) -> Self

Creates a segment scan over segment_id.

Source

pub fn segment_id(&self) -> SegmentId

Returns the segment this plan reads.

Source

pub fn array_ctx(&self) -> &ReadContext

Returns the read context for the serialized array.

Source

pub fn array_tree(&self) -> Option<&ByteBuffer>

Returns the serialized array encoding tree, when it is stored out of line.