Skip to main content

PlanTreeExtractor

Trait PlanTreeExtractor 

Source
pub trait PlanTreeExtractor<N, C>: Send + Sync
where C: TreeDisplayContext<N>, N: ?Sized,
{ // Provided methods fn write_header( &self, node: &N, context: &C, formatter: &mut Formatter<'_>, ) -> Result<(), Error> { ... } fn write_details( &self, node: &N, context: &C, formatter: &mut IndentedFormatter<'_, '_>, ) -> Result<(), Error> { ... } }
Expand description

Contributes one composable dimension of information to tree nodes.

Provided Methods§

Source

fn write_header( &self, node: &N, context: &C, formatter: &mut Formatter<'_>, ) -> Result<(), Error>

Write space-prefixed annotations on the node’s header line.

Source

fn write_details( &self, node: &N, context: &C, formatter: &mut IndentedFormatter<'_, '_>, ) -> Result<(), Error>

Write detail lines beneath the node’s header.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TreeDisplayExtractor<ArrayRef, TreeContext> for BufferExtractor

Source§

fn write_details( &self, array: &ArrayRef, _ctx: &TreeContext, f: &mut IndentedFormatter<'_, '_>, ) -> Result<(), Error>

Source§

impl TreeDisplayExtractor<ArrayRef, TreeContext> for EncodingSummaryExtractor

Source§

fn write_header( &self, array: &ArrayRef, _ctx: &TreeContext, f: &mut Formatter<'_>, ) -> Result<(), Error>

Source§

impl TreeDisplayExtractor<ArrayRef, TreeContext> for MetadataExtractor

Source§

fn write_details( &self, array: &ArrayRef, _ctx: &TreeContext, f: &mut IndentedFormatter<'_, '_>, ) -> Result<(), Error>

Source§

impl TreeDisplayExtractor<ArrayRef, TreeContext> for NbytesExtractor

Source§

fn write_header( &self, array: &ArrayRef, ctx: &TreeContext, f: &mut Formatter<'_>, ) -> Result<(), Error>

Source§

impl TreeDisplayExtractor<ArrayRef, TreeContext> for StatsExtractor

Source§

fn write_header( &self, array: &ArrayRef, _ctx: &TreeContext, f: &mut Formatter<'_>, ) -> Result<(), Error>

Implementors§