pub struct CleanSpreadsheet;Expand description
The spreadsheet-clean node processor. Stateless — config comes from NodeInput.params.
Implementations§
Trait Implementations§
Source§impl Default for CleanSpreadsheet
impl Default for CleanSpreadsheet
Source§impl NodeProcessor for CleanSpreadsheet
impl NodeProcessor for CleanSpreadsheet
Source§fn metadata(&self) -> NodeMetadata
fn metadata(&self) -> NodeMetadata
Self-describing metadata: trimWhitespace, removeEmptyRows, removeDuplicates (all booleans, default true). Accepts text/csv only.
Source§fn process(
&self,
input: NodeInput,
progress: &ProgressReporter,
_ctx: &dyn ProcessContext,
) -> Result<NodeOutput, BntoError>
fn process( &self, input: NodeInput, progress: &ProgressReporter, _ctx: &dyn ProcessContext, ) -> Result<NodeOutput, BntoError>
Clean a CSV file: trim whitespace, remove empty rows, deduplicate.
Source§fn name(&self) -> &str
fn name(&self) -> &str
The processor’s type key (e.g., “image-compress”).
Must match the key used in
registry.register().
Convention: category-operation, kebab-case.Source§fn validate(&self, _params: &Map<String, Value>) -> Vec<String>
fn validate(&self, _params: &Map<String, Value>) -> Vec<String>
Validate the input parameters before processing. Read more
Source§fn process_batch(
&self,
input: BatchInput,
progress: &ProgressReporter,
ctx: &dyn ProcessContext,
) -> Result<NodeOutput, BntoError>
fn process_batch( &self, input: BatchInput, progress: &ProgressReporter, ctx: &dyn ProcessContext, ) -> Result<NodeOutput, BntoError>
Process a batch of files together, producing combined output. Read more
Auto Trait Implementations§
impl Freeze for CleanSpreadsheet
impl RefUnwindSafe for CleanSpreadsheet
impl Send for CleanSpreadsheet
impl Sync for CleanSpreadsheet
impl Unpin for CleanSpreadsheet
impl UnsafeUnpin for CleanSpreadsheet
impl UnwindSafe for CleanSpreadsheet
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