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
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
NumRowGroups
Get the number of row groups in the file.
public int NumRowGroups { get; }
Property Value
NumRows
Get the number of rows in the file.
public long NumRows { get; }
Property Value
NumSchemaElements
Get the number of schema elements in the file.
public int NumSchemaElements { get; }
Property Value
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
Version
Get the Parquet format version of the file.
public ParquetVersion Version { get; }
Property Value
WriterVersion
Get the version of the writer that created the file.
public ApplicationVersion WriterVersion { get; }
Property Value
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
FileMetaDataAn object to compare with this object.