Class CsvManifestSnapshotBuilder

java.lang.Object
org.impulsegraph.builder.csv.CsvManifestSnapshotBuilder

public final class CsvManifestSnapshotBuilder extends Object
Pure-Java builder utility (zero external dependencies beyond JDK) that parses an e2e-csv-suite/manifest.json specification and its referenced domains/*.csv and relations/*.csv files to produce a compliant Impulse Binary Snapshot (.imps v0.9.0).

Provides two pure-Java build paths:

  • buildFullV09Snapshot(Path, Path): Writes the complete v0.9.0 binary layout including Section 2 Shared String Table, 16-byte Domain Catalog entries, 128-byte Relation Directory entries, interleaved 44-byte Attribute Descriptors (both relation attributes and domain attributes), 128-byte-padded nullable validity bitmaps (0x80 typeCode flag), CSR/CSC segments, and Footer metadata/CRC-64/SHA-256 trailer.
  • buildViaStreamingSnapshotWriter(Path, Path): Builds the snapshot through the SnapshotBuilder (StreamingSnapshotWriter) API for direct comparison and verification of StreamingSnapshotWriter behavior (which currently writes attr_count = 0 and key_type = 0x03).