pub struct HlxDatasetProcessor { /* private fields */ }
Expand description
HLX-powered dataset processor that integrates helix_core with dataset processing
Implementations§
Source§impl HlxDatasetProcessor
impl HlxDatasetProcessor
Sourcepub fn load_config_file<P: AsRef<Path>>(
&mut self,
path: P,
) -> HlxResult<HelixConfig>
pub fn load_config_file<P: AsRef<Path>>( &mut self, path: P, ) -> HlxResult<HelixConfig>
Load and process an HLX configuration file for dataset processing
Sourcepub fn parse_hlx_content(&self, content: &str) -> HlxResult<HelixConfig>
pub fn parse_hlx_content(&self, content: &str) -> HlxResult<HelixConfig>
Parse HLX source content with proper error handling
Sourcepub fn load_binary_file<P: AsRef<Path>>(
&self,
path: P,
) -> HlxResult<HelixConfig>
pub fn load_binary_file<P: AsRef<Path>>( &self, path: P, ) -> HlxResult<HelixConfig>
Load and decompile an HLX binary file
Sourcepub fn compile_to_binary(&self, content: &str) -> HlxResult<HelixBinary>
pub fn compile_to_binary(&self, content: &str) -> HlxResult<HelixBinary>
Compile HLX source to binary with error handling
Sourcepub fn process_dataset_config(
&mut self,
config_path: &str,
dataset_name: &str,
) -> HlxResult<DatasetConfig>
pub fn process_dataset_config( &mut self, config_path: &str, dataset_name: &str, ) -> HlxResult<DatasetConfig>
Process a dataset configuration from HLX
Sourcepub fn validate_dataset(
&self,
dataset_config: &DatasetConfig,
data_sample: &Value,
) -> HlxResult<ValidationResult>
pub fn validate_dataset( &self, dataset_config: &DatasetConfig, data_sample: &Value, ) -> HlxResult<ValidationResult>
Validate dataset against HLX configuration
Sourcepub fn cache_stats(&self) -> Result<CacheStats>
pub fn cache_stats(&self) -> Result<CacheStats>
Get cache statistics
Sourcepub fn clear_cache(&mut self) -> Result<()>
pub fn clear_cache(&mut self) -> Result<()>
Clear all caches
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HlxDatasetProcessor
impl RefUnwindSafe for HlxDatasetProcessor
impl Send for HlxDatasetProcessor
impl Sync for HlxDatasetProcessor
impl Unpin for HlxDatasetProcessor
impl UnwindSafe for HlxDatasetProcessor
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