Table of Contents

Class LogicalWriteConverterFactory

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Extendable class that handles the mapping between a C# logical type and the Parquet physical type when writing values.

public class LogicalWriteConverterFactory
Inheritance
LogicalWriteConverterFactory
Inherited Members

Fields

Default

public static readonly LogicalWriteConverterFactory Default

Field Value

LogicalWriteConverterFactory

Methods

GetConverter<TLogical, TPhysical>(ColumnDescriptor, ByteBuffer?)

Return a converter delegate that converts a TLogical readonly-span to a TPhysical span.

public virtual Delegate GetConverter<TLogical, TPhysical>(ColumnDescriptor columnDescriptor, ByteBuffer? byteBuffer) where TPhysical : unmanaged

Parameters

columnDescriptor ColumnDescriptor

The descriptor of the column to be converted.

byteBuffer ByteBuffer

The ByteBuffer allocation pool for efficiently handling byte arrays.

Returns

Delegate

A delegate of type LogicalWrite<TLogical, TPhysical>.Converter

Type Parameters

TLogical
TPhysical