pub struct DataflowDebugger { /* private fields */ }Expand description
Dataflow debugger for DataFrame pipeline analysis
Implementations§
Source§impl DataflowDebugger
impl DataflowDebugger
Sourcepub fn new(config: DataflowConfig) -> Self
pub fn new(config: DataflowConfig) -> Self
Create a new dataflow debugger
Sourcepub fn start_session(&self) -> Result<()>
pub fn start_session(&self) -> Result<()>
Start a new debugging session
Sourcepub fn add_breakpoint(&self, breakpoint: Breakpoint) -> Result<()>
pub fn add_breakpoint(&self, breakpoint: Breakpoint) -> Result<()>
Add a breakpoint to the debugger
Sourcepub fn remove_breakpoint(&self, stage_id: &str) -> Result<bool>
pub fn remove_breakpoint(&self, stage_id: &str) -> Result<bool>
Remove a breakpoint by stage ID
Sourcepub fn execute_stage(
&self,
pipeline_stage: &mut PipelineStage,
) -> Result<StageExecutionResult>
pub fn execute_stage( &self, pipeline_stage: &mut PipelineStage, ) -> Result<StageExecutionResult>
Execute a pipeline stage with debugging support
Sourcepub fn materialize_stage(&self, stage_id: &str) -> Result<MaterializedFrame>
pub fn materialize_stage(&self, stage_id: &str) -> Result<MaterializedFrame>
Materialize DataFrame data at a specific stage
Sourcepub fn compute_stage_diff(
&self,
stage1_id: &str,
stage2_id: &str,
) -> Result<StageDiff>
pub fn compute_stage_diff( &self, stage1_id: &str, stage2_id: &str, ) -> Result<StageDiff>
Compute diff between two pipeline stages
Sourcepub fn get_session_status(&self) -> Result<SessionState>
pub fn get_session_status(&self) -> Result<SessionState>
Get current debugging session status
Sourcepub fn get_execution_history(&self) -> Result<Vec<ExecutionEvent>>
pub fn get_execution_history(&self) -> Result<Vec<ExecutionEvent>>
Get execution history
Sourcepub fn get_stage_metrics(&self) -> Result<HashMap<String, StageMetrics>>
pub fn get_stage_metrics(&self) -> Result<HashMap<String, StageMetrics>>
Get performance metrics for all stages
Sourcepub fn export_debug_data(
&self,
format: ExportFormat,
output_path: &str,
) -> Result<()>
pub fn export_debug_data( &self, format: ExportFormat, output_path: &str, ) -> Result<()>
Export debugging data to various formats
Sourcepub fn stop_session(&self) -> Result<()>
pub fn stop_session(&self) -> Result<()>
Stop the debugging session
Sourcepub fn add_stage(&self, stage: PipelineStage) -> Result<()>
pub fn add_stage(&self, stage: PipelineStage) -> Result<()>
Add a stage to the pipeline
Sourcepub fn set_breakpoint(
&self,
stage_id: String,
condition: Option<BreakpointCondition>,
) -> Result<()>
pub fn set_breakpoint( &self, stage_id: String, condition: Option<BreakpointCondition>, ) -> Result<()>
Set a breakpoint at a specific stage
Auto Trait Implementations§
impl Freeze for DataflowDebugger
impl RefUnwindSafe for DataflowDebugger
impl Send for DataflowDebugger
impl Sync for DataflowDebugger
impl Unpin for DataflowDebugger
impl UnwindSafe for DataflowDebugger
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more