Skip to main content
Rust4PM

stream

process_mining::core::event_data::object_centric::ocel_sql::duckdb::schema::stream

Functions in this Module(3)

stream_ocel_to_duckdb

core::event_data::object_centric::ocel_sql::duckdb::schema::streamSource
Like stream_ocel_file_to_duckdb with explicit DuckDbImportOptions.
Stringrequired
Stringrequired
DuckDbImportOptionsOptions controlling how an OCEL is streamed into a `DuckDB` database.
import r4pm

# Optional argument: options, can also be omitted
options = {"compression": False, "optimize_filesize": False}
r4pm.bindings.stream_ocel_to_duckdb('example', 'example', options)

process_mining/src/core/event_data/object_centric/ocel_sql/duckdb/schema/stream.rs:198

write_slim_ocel_to_consolidated_duckdb

core::event_data::object_centric::ocel_sql::duckdb::schema::streamSource
Write an in-memory Slim OCEL into a fresh DuckDB database in the consolidated schema.
SlimLinkedOCELrequired
Stringrequired
DuckDbImportOptionsOptions controlling how an OCEL is streamed into a `DuckDB` database.
import r4pm

# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('SlimLinkedOCEL', 'ocel.xml')
# Optional argument: options, can also be omitted
options = {"compression": False, "optimize_filesize": False}
r4pm.bindings.write_slim_ocel_to_consolidated_duckdb(ocel, 'example', options)

process_mining/src/core/event_data/object_centric/ocel_sql/duckdb/schema/stream.rs:161

write_ocel_to_consolidated_duckdb

core::event_data::object_centric::ocel_sql::duckdb::schema::streamSource
Write an in-memory OCEL into a fresh DuckDB database in the consolidated schema.
OCELrequired
Stringrequired
DuckDbImportOptionsOptions controlling how an OCEL is streamed into a `DuckDB` database.
import r4pm

# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('OCEL', 'ocel.xml')
# Optional argument: options, can also be omitted
options = {"compression": False, "optimize_filesize": False}
r4pm.bindings.write_ocel_to_consolidated_duckdb(ocel, 'example', options)

process_mining/src/core/event_data/object_centric/ocel_sql/duckdb/schema/stream.rs:151