Skip to main content

Crate blazegraph_io

Crate blazegraph_io 

Source

Re-exports§

pub use jre_manager::JreManager;

Modules§

analytics
cache
classifier
config
graphs
jre_manager
JRE Manager - Auto-download and manage Java Runtime for JNI backend
preprocessors
Document Preprocessors
processor
rules
storage
types

Structs§

BookmarkData
BookmarkSection
BoundingBox
CacheDefaults
Which cache points are enabled for writing.
ClassificationResult
DepthDistribution
DocumentAnalysis
Composite output of the analytics pre-pass. Carries one finalized output per stat kind. Lives in pipeline memory; not serialized into the public graph output (a separate sidecar dump may serialize it for development purposes).
DocumentGraph
DocumentInfo
Aggregated document-level information computed during parsing. This is NOT a node in the tree — it is information about the document. Has proto-L1 character: one per document, invariant to tree structure. See 006-document-info-separation.md for design rationale.
DocumentMetadata
DocumentNode
DocumentProcessor
ElementGroup
FlatDocument
FontClass
GraphAnalytics
Analytics computer that can analyze any subset of nodes in the graph
GraphAnalyticsResult
Result of analytics computation for any subset of nodes
HistogramBin
ListSequence
NodeContent
NodeIdGenerator
Generates deterministic node IDs scoped to a specific document parse.
NodeLocation
NodeTypeDistribution
ParsedPdfElement
ParsingConfig
PdfPreprocessor
PDF Preprocessor with pluggable backend
PdfTextElement
PhysicalLocation
PipelineStages
Captured intermediate outputs from each pipeline stage Used for testing and diagnostics — lets you inspect/compare each boundary
Placement
Spatial and structural metadata about where a text element lives in its source. Populated for PDF-sourced elements. Future HTML/Markdown preprocessors may produce elements with placement: None.
PreprocessorOutput
Complete output from document preprocessing
SemanticLocation
SequentialDocument
SequentialSegment
SortedDocumentGraph
The serialization-ready output format. Carries a schema version so consumers can detect and handle shape changes.
StructuralProfile
Quantitative measurement of graph shape — deterministic, mechanically computed from structure. Travels with graph.json. Describes the L0 tree’s statistical properties. See AmplifyNotes/09-Profile-Types.md for design rationale.
StyleData
StyleMetadata
TikaJniBackend
JNI-based Tika backend for PDF processing
TokenDistribution
Histogram-based token distribution for comprehensive statistical analysis
TokenHistogram
Histogram representation enabling statistical calculations (mean, median, mode, variance)

Enums§

CachePoint
A discrete cache point in the processing pipeline. Ordered by pipeline position: C0 < C1 < C2 < C3.
DocumentType
FlowType
Signals whether physical location data is meaningful for this document
FreshFrom
Controls which cache points to bypass during processing. Cascade: fresh-from C1 means skip C1, C2, C3 caches.
GroupType
NodeType
ParsedElementType

Constants§

SCHEMA_VERSION
The schema version stamped on every graph output. Bump this when the output shape changes.

Traits§

Preprocessor
Preprocessor trait - converts documents to PreprocessorOutput

Functions§

infer_title
Infer a best-guess document title from parsed elements. Used as a fallback when Tika metadata doesn’t provide a title. Current strategy: first Section element’s text. Future candidates: largest font on page 1, first bold text, etc.

Type Aliases§

NodeId
TikaPreprocessor