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
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