Struct WalSegmentRef
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
PathstringAbsolute path to the segment file.
SizeByteslongSize of the file in bytes.
NamestringFile name only.
Properties
Name
File name only.
public string Name { get; init; }
Property Value
Path
Absolute path to the segment file.
public string Path { get; init; }
Property Value
SizeBytes
Size of the file in bytes.
public long SizeBytes { get; init; }
Property Value
Methods
Deconstruct(out string, out long, out string)
public void Deconstruct(out string Path, out long SizeBytes, out string Name)
Parameters
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(WalSegmentRef)
public bool Equals(WalSegmentRef other)
Parameters
otherWalSegmentRef
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(WalSegmentRef, WalSegmentRef)
public static bool operator ==(WalSegmentRef left, WalSegmentRef right)
Parameters
leftWalSegmentRefrightWalSegmentRef
Returns
operator !=(WalSegmentRef, WalSegmentRef)
public static bool operator !=(WalSegmentRef left, WalSegmentRef right)
Parameters
leftWalSegmentRefrightWalSegmentRef