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
impl SegmentScanPlan
Sourcepub fn new(
dtype: DType,
row_count: u64,
segment_id: SegmentId,
array_ctx: ReadContext,
array_tree: Option<ByteBuffer>,
) -> Self
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.
Sourcepub fn segment_id(&self) -> SegmentId
pub fn segment_id(&self) -> SegmentId
Returns the segment this plan reads.
Sourcepub fn array_ctx(&self) -> &ReadContext
pub fn array_ctx(&self) -> &ReadContext
Returns the read context for the serialized array.
Sourcepub fn array_tree(&self) -> Option<&ByteBuffer>
pub fn array_tree(&self) -> Option<&ByteBuffer>
Returns the serialized array encoding tree, when it is stored out of line.