nsmcp::AccessRecordStoreSQLite method ingest (public)

 <instance of nsmcp::AccessRecordStoreSQLite[i]> ingest fid \
    checkpoint tuples [ batched ]

Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl

Persist the scanner's supplied requests and checkpoint atomically. Insert every supplied request; duplicate source positions are errors. Commit rollups, pending peer addresses, parsing-loss counters and byte coverage in the same transaction. This method does not read the source file.

Parameters:
fid (required)
Stored source-file identifier.
checkpoint (required)
Scanner-prepared coverage, framing, timestamp and parsing-loss metadata.
tuples (required)
Prepared request rows, or serialized SQL tuples for the reference path.
batched (optional, defaults to "false")
True for the batch API; false for the SQL reference implementation.
Returns:
Committed request and diagnostic counts, together with the insertion-backend label.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: