Table of Contents

Struct WalSegmentRef

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

One WAL segment file found beside the data file, described without being parsed.

public readonly struct WalSegmentRef : IEquatable<WalSegmentRef>
Implements
Inherited Members

Constructors

WalSegmentRef(string, long, string)

One WAL segment file found beside the data file, described without being parsed.

public WalSegmentRef(string Path, long SizeBytes, string Name)

Parameters

Path string

Absolute path to the segment file.

SizeBytes long

Size of the file in bytes.

Name string

File name only.

Properties

Name

File name only.

public string Name { get; init; }

Property Value

string

Path

Absolute path to the segment file.

public string Path { get; init; }

Property Value

string

SizeBytes

Size of the file in bytes.

public long SizeBytes { get; init; }

Property Value

long

Methods

Deconstruct(out string, out long, out string)

public void Deconstruct(out string Path, out long SizeBytes, out string Name)

Parameters

Path string
SizeBytes long
Name string

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(WalSegmentRef)

public bool Equals(WalSegmentRef other)

Parameters

other WalSegmentRef

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(WalSegmentRef, WalSegmentRef)

public static bool operator ==(WalSegmentRef left, WalSegmentRef right)

Parameters

left WalSegmentRef
right WalSegmentRef

Returns

bool

operator !=(WalSegmentRef, WalSegmentRef)

public static bool operator !=(WalSegmentRef left, WalSegmentRef right)

Parameters

left WalSegmentRef
right WalSegmentRef

Returns

bool