Table of Contents

Class ColumnDecryptionPropertiesBuilder

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Builder pattern for creating and configuring ColumnDecryptionProperties objects. Provides a fluent API for setting the decryption properties for a column in a Parquet file.

public sealed class ColumnDecryptionPropertiesBuilder : IDisposable
Inheritance
ColumnDecryptionPropertiesBuilder
Implements
Inherited Members

Constructors

ColumnDecryptionPropertiesBuilder(ColumnPath)

Initializes a new instance of the ColumnDecryptionPropertiesBuilder class for a column specified by path.

public ColumnDecryptionPropertiesBuilder(ColumnPath columnPath)

Parameters

columnPath ColumnPath

The ColumnPath object representing the column to decrypt.

ColumnDecryptionPropertiesBuilder(string)

Initializes a new instance of the ColumnDecryptionPropertiesBuilder class for a column specified by name.

public ColumnDecryptionPropertiesBuilder(string columnName)

Parameters

columnName string

The name of the column to decrypt.

Methods

Build()

Build the ColumnDecryptionProperties object.

public ColumnDecryptionProperties Build()

Returns

ColumnDecryptionProperties

The configured ColumnDecryptionProperties object.

Dispose()

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

public void Dispose()

Key(byte[])

Set the decryption key for the column.

public ColumnDecryptionPropertiesBuilder Key(byte[] key)

Parameters

key byte[]

A byte array containing the AES decryption key.

Returns

ColumnDecryptionPropertiesBuilder

This builder instance.