Skip to main content

ArchiveRowOriginFields

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

The platform fields that carry the ArchiveRowOrigin of archive data. No archive declares them. Every raw and time-range row records its origin and, for a manual row, who wrote it, when and why; every rollup row reports how many of its values were entered manually and when the latest of them was written.

public static class ArchiveRowOriginFields

Inheritance Object → ArchiveRowOriginFields

Fields​

RowOrigin​

Raw and time-range rows: origin of the row, manual or automated.

public static string RowOrigin;

ManualWrittenBy​

Raw and time-range rows: writer of a manual row; NULL on automated rows.

public static string ManualWrittenBy;

ManualWrittenAt​

Raw and time-range rows: write time of a manual row; NULL on automated rows.

public static string ManualWrittenAt;

ManualReason​

Raw and time-range rows: optional reason of a manual write; NULL on automated rows.

public static string ManualReason;

ManualCount​

Rollup rows: the number of manually entered source values of the bucket. NULL in a row that was aggregated before the column existed; it reads as 0.

public static string ManualCount;

LastManualAt​

Rollup rows: the write time of the latest manual entry of the bucket; NULL without one.

public static string LastManualAt;

Properties​

RollupFields​

The fields of a rollup row. No user-defined column of any archive can take these names.

public static IReadOnlyList<string> RollupFields { get; }

Property Value​

IReadOnlyList<String>

Methods​

IsRollupField(String)​

True when columnName is one of ArchiveRowOriginFields.RollupFields (case-insensitive).

public static bool IsRollupField(string columnName)

Parameters​

columnName String

Returns​

Boolean