Skip to main content

Crate xml2arrow

Crate xml2arrow 

Source
Expand description

The xml2arrow crate provides functionality for parsing XML data into Apache Arrow record batches.

This crate allows you to convert structured XML data into Arrow record batches, which are a columnar data format widely used for data processing and analytics. This can be particularly useful for working with XML data in Rust-based data pipelines.

Re-exports§

pub use errors::Error;
pub use errors::Result;
pub use config::Config;
pub use config::DType;
pub use config::FieldConfig;
pub use config::FieldConfigBuilder;
pub use config::ParserOptions;
pub use config::TableConfig;

Modules§

config
errors
Error types for the xml2arrow crate.

Macros§

config_from_yaml
Creates a Config struct from a YAML string literal.

Structs§

Parser
A reusable, pre-compiled parser for a single Config.

Functions§

parse_xml
Parses XML data from a reader into Arrow record batches based on a provided configuration.
parse_xml_slice
Parses XML data from an in-memory byte slice into Arrow record batches.