/// Converts the provided lines of line protocol to a set of [`MutableBatch`]
/// keyed by measurement name, and a set of statistics about the converted line protocol
Converts the provided lines of line protocol to a set of [`MutableBatch`]
keyed by measurement name, and a set of statistics about the converted line protocol
Converts the provided lines of line protocol to a set of [ ` MutableBatch ` ] keyed by measurement name and a set of statistics about the converted line protocol
pub fn lines_to_batches_stats(
    lines: &str,
    default_time: i64,
) -> Result<(HashMap<String, MutableBatch>, PayloadStatistics)> {
    let mut converter = LinesConverter::new(default_time);
    converter.write_lp(lines)?;
    converter.finish()
}
pub fn lines_to_batches_stats ( lines : & str , default_time : i64 , ) -> Result < ( HashMap < String , MutableBatch > , PayloadStatistics ) > { let mut converter = LinesConverter :: new ( default_time ) ; converter . write_lp ( lines ) ? ; converter . finish ( ) }
Converts the provided lines of line protocol to a set of [`MutableBatch`]
keyed by measurement name, and a set of statistics about the converted line protocol
Converts the provided lines of line protocol to a set of [ ` MutableBatch ` ] keyed by measurement name and a set of statistics about the converted line protocol
lines
&str
default_time
i64