Class ImportService

Assembly: redb.Export.dll

Imports data from a .redb file into a REDB database.

Uses a streaming approach: records are read line-by-line, accumulated into
batches, and bulk-inserted via .
The file may be plain JSONL or ZIP-compressed (auto-detected).

public sealed class ImportService

Inheritance

ObjectImportService

Methods

ImportAsync(string, bool, bool, CancellationToken)

Imports data from the specified .redb file.

public Task ImportAsync(string inputPath, bool clean, bool dryRun, CancellationToken ct = default)

Constructors

ImportService(IDataProvider, bool, int)

Initializes a new instance of .