Skip to content

Module exporters Architecture

github-actions[bot] edited this page Aug 31, 2026 · 2 revisions

Architecture - Exporters Module

Overview

The exporters module composes format-specific exporters, stream/delta/join orchestration, and export safety controls into a bounded runtime contract for dataset and document export operations.

Main Execution Planes

  1. Format pipeline plane
  • JSONL, Parquet, Arrow, and HuggingFace format generation
  • template-driven output adaptation for LLM-oriented datasets
  1. Export orchestration plane
  • batch, streaming, incremental, and join export workflows
  • checkpoint/watermark and bounded-memory execution behavior
  1. Safety and governance plane
  • policy-gated export authorization paths
  • predicate filtering, PII redaction, and encryption controls
  1. Operations and integration plane
  • metrics and diagnostics surfaces
  • registry-based format resolution and hub upload workflows

Core Contracts

Contract Behavior
format contract deterministic format-specific export semantics
orchestration contract bounded streaming/incremental/join execution behavior
safety contract explicit policy/filter/PII/encryption gating
operations contract observable metrics and registry/integration behavior

Failure Semantics

  • invalid export configs or unsupported format paths fail with explicit errors.
  • policy denials fail closed before export output activity.
  • bounded-memory and watermark/checkpoint paths expose deterministic failure states.

Sourcecode Verification (Module: exporters/architecture)

  • Verified files:
    • src/exporters/jsonl_llm_exporter.cpp
    • src/exporters/streaming_exporter.cpp
    • src/exporters/incremental_exporter.cpp
    • src/exporters/join_exporter.cpp
    • src/exporters/export_format_registry.cpp
    • src/exporters/huggingface_hub_client.cpp
    • src/exporters/export_encryption.cpp
    • src/exporters/pii_detector.cpp
  • Verified architecture claims:
    • explicit format/orchestration/safety/operations planes
    • bounded failure behavior in policy and export execution paths
    • module-local ownership of export orchestration and integrations

ThemisDB 1.9.0-beta Β· Home Β· Module-Index Β· GitHub Β· Issues

ThemisDB Wiki

🏠 Overview

πŸš€ Getting Started

πŸ“– Tutorials

πŸ“— User Guide

βš™οΈ Operations & Security

πŸ“Ÿ Ops Runbooks

πŸ—οΈ Architecture

πŸ“ ADRs

πŸ”§ Contributing

πŸ“‹ Governance

πŸ” Audit

🧩 Plugins

πŸ”Œ Adapters

πŸ’‘ Examples

πŸ“¦ Client SDKs

πŸŽ“ Training

πŸ› οΈ Tools

πŸ€– Developer LLM Wiki

Clone this wiki locally