ingest

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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

View Source
var NewEngine = ii.NewEngine

NewEngine creates a new ingestion engine for the given schema and store.

View Source
var NewJsonWalker = ii.NewJsonWalker

NewJsonWalker creates a new JSONPath-based walker.

View Source
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

type Engine = ii.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.

type Match

type Match = ii.Match

Match is a single result from a Walker query.

type Walker

type Walker = ii.Walker

Walker queries structured data (JSON or tree-sitter AST) and returns matches.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL