#![allow(dead_code)]
#![allow(unused_variables)]
use crate::backend::feather::RotationConfig;
#[derive(Debug, Clone)]
pub struct StreamingConfig {
catalog_path: String,
fst_protocol: String,
flush_interval_ms: u64,
replace_existing: bool,
rotation_config: RotationConfig,
}
impl StreamingConfig {
#[must_use]
pub const fn new(
catalog_path: String,
fst_protocol: String,
flush_interval_ms: u64,
replace_existing: bool,
rotation_config: RotationConfig,
) -> Self {
Self {
catalog_path,
fst_protocol,
flush_interval_ms,
replace_existing,
rotation_config,
}
}
}
pub struct DataCatalogConfig {
path: String,
fs_protocol: String,
}
impl DataCatalogConfig {
#[must_use]
pub const fn new(path: String, fs_protocol: String) -> Self {
Self { path, fs_protocol }
}
}