Skip to main content

ScratchFileReference

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Execution

The data-context marker a node writes in place of a large base64 blob: it carries only the opaque scratch ScratchFileReference.Token plus lightweight metadata. A consuming node resolves the bytes by streaming from IPipelineScratchSpace with the token. Kept tiny on purpose — this is what travels through the JSON data context.

public record ScratchFileReference : IEquatable<ScratchFileReference>

Inheritance Object → ScratchFileReference
Implements IEquatable<ScratchFileReference>

Properties​

Token​

Opaque scratch token (see IPipelineScratchSpace.CreateFile(String)).

public string Token { get; set; }

Property Value​

String

FileName​

Optional original file name (for naming the downstream artifact).

public string FileName { get; set; }

Property Value​

String

ContentType​

Optional MIME content type of the referenced bytes.

public string ContentType { get; set; }

Property Value​

String

Length​

Length of the referenced bytes.

public long Length { get; set; }

Property Value​

Int64

Constructors​

ScratchFileReference()​

public ScratchFileReference()