Table of Contents

Class FileMetaData

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Metadata for a Parquet file. Includes information about the schema, row groups, versions, etc.

public sealed class FileMetaData : IEquatable<FileMetaData>, IDisposable
Inheritance
FileMetaData
Implements
Inherited Members

Properties

CreatedBy

Get the name of the entity that created the file.

public string CreatedBy { get; }

Property Value

string

KeyValueMetadata

Get the key-value metadata.

public IReadOnlyDictionary<string, string> KeyValueMetadata { get; }

Property Value

IReadOnlyDictionary<string, string>

An IReadOnlyDictionary<TKey, TValue> containing the key-value metadata.

NumColumns

Get the number of columns in the file.

public int NumColumns { get; }

Property Value

int

NumRowGroups

Get the number of row groups in the file.

public int NumRowGroups { get; }

Property Value

int

NumRows

Get the number of rows in the file.

public long NumRows { get; }

Property Value

long

NumSchemaElements

Get the number of schema elements in the file.

public int NumSchemaElements { get; }

Property Value

int

Schema

Get the schema descriptor for the file.

public SchemaDescriptor Schema { get; }

Property Value

SchemaDescriptor

A SchemaDescriptor object that describes the schema of the file.

Size

Get the total size of the file in bytes.

public int Size { get; }

Property Value

int

Version

Get the Parquet format version of the file.

public ParquetVersion Version { get; }

Property Value

ParquetVersion

WriterVersion

Get the version of the writer that created the file.

public ApplicationVersion WriterVersion { get; }

Property Value

ApplicationVersion

Methods

Dispose()

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

public void Dispose()

Equals(FileMetaData?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(FileMetaData? other)

Parameters

other FileMetaData

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.