Table of Contents

Class RowGroupWriter

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Writes a row group to a Parquet file. Allows access to individual ColumnWriter instances for each column in the row group.

public sealed class RowGroupWriter : IDisposable
Inheritance
RowGroupWriter
Implements
Inherited Members

Properties

Buffered

public bool Buffered { get; }

Property Value

bool

CurrentColumn

public int CurrentColumn { get; }

Property Value

int

NumColumns

public int NumColumns { get; }

Property Value

int

NumRows

public long NumRows { get; }

Property Value

long

TotalBytesWritten

public long TotalBytesWritten { get; }

Property Value

long

TotalCompressedBytes

public long TotalCompressedBytes { get; }

Property Value

long

Methods

Close()

public void Close()

Column(int)

Get the column writer for the i-th column.

public ColumnWriter Column(int i)

Parameters

i int

The index of the column.

Returns

ColumnWriter

A ColumnWriter for the i-th column.

Remarks

This method may only be used with a buffered row group writer, created with AppendBufferedRowGroup().

Dispose()

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

public void Dispose()

NextColumn()

Get the column writer for the next column.

public ColumnWriter NextColumn()

Returns

ColumnWriter

A ColumnWriter for the next column.

Remarks

This method is not valid when using a buffered row group writer.