pub trait ProcessorBuilder:
Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn output_keys(&self) -> HashSet<&str>;
fn input_keys(&self) -> HashSet<&str>;
fn build(self, intermediate_keys: &[String]) -> Result<ProcessorKind>;
}
Expand description
ProcessorBuilder trait defines the interface for all processor builders A processor builder is used to create a processor
Required Methods§
sourcefn output_keys(&self) -> HashSet<&str>
fn output_keys(&self) -> HashSet<&str>
Get the processor’s output keys
sourcefn input_keys(&self) -> HashSet<&str>
fn input_keys(&self) -> HashSet<&str>
Get the processor’s input keys
sourcefn build(self, intermediate_keys: &[String]) -> Result<ProcessorKind>
fn build(self, intermediate_keys: &[String]) -> Result<ProcessorKind>
Build the processor