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
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
ColumnDescriptorThe descriptor of the column to be converted.
byteBuffer
ByteBufferThe ByteBuffer allocation pool for efficiently handling byte arrays.
Returns
- Delegate
A delegate of type LogicalWrite<TLogical, TPhysical>.Converter
Type Parameters
TLogical
TPhysical