pub struct DBMVImporter;Expand description
DBMV importer for parsing Databricks Metric Views YAML files
Implementations§
Source§impl DBMVImporter
impl DBMVImporter
Sourcepub fn import(&self, yaml_content: &str) -> Result<DBMVDocument, ImportError>
pub fn import(&self, yaml_content: &str) -> Result<DBMVDocument, ImportError>
Import a DBMV document from YAML content
Optionally validates against the JSON schema if the schema-validation feature is enabled.
Sourcepub fn import_without_validation(
&self,
yaml_content: &str,
) -> Result<DBMVDocument, ImportError>
pub fn import_without_validation( &self, yaml_content: &str, ) -> Result<DBMVDocument, ImportError>
Import a DBMV document without schema validation
Sourcepub fn import_single_view(
&self,
yaml_content: &str,
) -> Result<DBMVMetricView, ImportError>
pub fn import_single_view( &self, yaml_content: &str, ) -> Result<DBMVMetricView, ImportError>
Import a single standalone Databricks metric view from YAML content (no wrapper envelope)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DBMVImporter
impl RefUnwindSafe for DBMVImporter
impl Send for DBMVImporter
impl Sync for DBMVImporter
impl Unpin for DBMVImporter
impl UnsafeUnpin for DBMVImporter
impl UnwindSafe for DBMVImporter
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