Struct BufferedWriterStats
- Namespace
- ParquetSharp
- Assembly
- ParquetSharp.dll
Estimated sizes in bytes of data buffered by a ColumnWriter, or by the column writers of a RowGroupWriter, that has not yet been serialized into pages.
public readonly struct BufferedWriterStats : IEquatable<BufferedWriterStats>
- Implements
- Inherited Members
Remarks
These are estimates of the encoded (uncompressed) data size and do not include any internal scratch buffers held by the column writers.
These statistics do not cover all data held in memory by a row group writer. While a column is dictionary encoded, completed data pages are also held in memory until the dictionary page is written when the column is closed. The size of these pages is reported by TotalCompressedBytes rather than TotalCompressedBytesWritten. The total size of a buffered row group can be estimated as the sum of TotalCompressedBytes, TotalCompressedBytesWritten and all fields of EstimatedBufferedStats.
Properties
DefLevelBytes
Estimated size of the buffered definition levels.
public long DefLevelBytes { get; }
Property Value
DictBytes
Estimated size of the dictionaries that have not yet been written.
public long DictBytes { get; }
Property Value
RepLevelBytes
Estimated size of the buffered repetition levels.
public long RepLevelBytes { get; }
Property Value
ValueBytes
Estimated size of the buffered values.
public long ValueBytes { get; }
Property Value
Methods
Equals(BufferedWriterStats)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BufferedWriterStats other)
Parameters
otherBufferedWriterStatsAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(BufferedWriterStats, BufferedWriterStats)
public static bool operator ==(BufferedWriterStats left, BufferedWriterStats right)
Parameters
leftBufferedWriterStatsrightBufferedWriterStats
Returns
operator !=(BufferedWriterStats, BufferedWriterStats)
public static bool operator !=(BufferedWriterStats left, BufferedWriterStats right)
Parameters
leftBufferedWriterStatsrightBufferedWriterStats