Documentation
¶
Overview ¶
Package ingest provides the public ingestion API for mache.
Types are defined in internal/ingest and re-exported here via type aliases so that external consumers (e.g. venturi) can use mache's ingestion engine without importing internal packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var NewEngine = ii.NewEngine
NewEngine creates a new ingestion engine for the given schema and store.
var NewJsonWalker = ii.NewJsonWalker
NewJsonWalker creates a new JSONPath-based walker.
var StreamSQLite = ii.StreamSQLite
StreamSQLite iterates over all records in a SQLite database, calling fn for each one. Only one parsed record is alive at a time, keeping memory constant.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
Engine drives the ingestion process: schema traversal, file walking, and node creation for both JSON and tree-sitter source paths.
type IngestionTarget ¶
type IngestionTarget = ii.IngestionTarget
IngestionTarget combines Graph reading with writing capabilities. The graph.MemoryStore type satisfies this interface.
type JsonWalker ¶
type JsonWalker = ii.JsonWalker
JsonWalker implements the Walker interface for JSON-like data using JSONPath.