Table of Contents

Class ColumnChunkMetaData

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Represents the metadata for a column chunk.

public sealed class ColumnChunkMetaData : IDisposable
Inheritance
ColumnChunkMetaData
Implements
Inherited Members

Remarks

Provides access to the metadata for a column chunk and manages the associated native resources. Because this class is a wrapper around C++ objects, it implements IDisposable to release resources predictably. Make sure to call Dispose() or use a using statement for proper cleanup.

Properties

Compression

Get the compression codec used for the column chunk.

public Compression Compression { get; }

Property Value

Compression

A Compression value representing the compression codec used for the column chunk.

CryptoMetadata

Get the encryption metadata associated with the column.

public ColumnCryptoMetaData? CryptoMetadata { get; }

Property Value

ColumnCryptoMetaData

A ColumnCryptoMetaData object representing the encryption metadata for the column, or null if no encryption metadata is available.

Encodings

Get the encodings used for the column chunk.

public Encoding[] Encodings { get; }

Property Value

Encoding[]

An array of Encoding values representing the encodings used for the column chunk.

FileOffset

Get the offset of the column chunk in the file.

public long FileOffset { get; }

Property Value

long

IsStatsSet

Whether the column chunk statistics are present in the metadata.

public bool IsStatsSet { get; }

Property Value

bool

NumValues

Get the total number of values in the column chunk.

public long NumValues { get; }

Property Value

long

Statistics

Get the statistics for the column chunk.

public Statistics? Statistics { get; }

Property Value

Statistics

A Statistics object representing the statistics for the column chunk, or null if no statistics are available.

TotalCompressedSize

Get the total compressed size of the column chunk in bytes.

public long TotalCompressedSize { get; }

Property Value

long

TotalUncompressedSize

Get the total uncompressed size of the column chunk in bytes.

public long TotalUncompressedSize { get; }

Property Value

long

Type

Get the physical type of the column chunk.

public PhysicalType Type { get; }

Property Value

PhysicalType

A PhysicalType value representing the physical type of the column chunk.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()