Skip to content

ArchiveRow

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The JSON representation of a single row to write to the archive.

public sealed record ArchiveRow : IEquatable<ArchiveRow>

objectArchiveRow

IEquatable<ArchiveRow>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

The row carries no schema information: column names and values sit directly inside a JSON object (one line of JSONL). This way, archiving does not need to know the target’s column set ahead of time.

public ArchiveRow()

The row’s single-line JSON representation (has no trailing newline).

public required string Json { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(ArchiveRow? other)

other ArchiveRow?

bool

public override int GetHashCode()

int

public override string ToString()

string

public static bool operator ==(ArchiveRow? left, ArchiveRow? right)

left ArchiveRow?

right ArchiveRow?

bool

public static bool operator !=(ArchiveRow? left, ArchiveRow? right)

left ArchiveRow?

right ArchiveRow?

bool