FlushCallback

Type Alias FlushCallback 

Source
pub type FlushCallback = Box<dyn Fn(&str, RecordBatch) + Send>;
Expand description

Callback function type for flushing RecordBatches. Takes ownership of the RecordBatch. The callback should handle empty batches by creating the table with the schema but not appending the empty data.

Aliased Typeยง

pub struct FlushCallback(/* private fields */);