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
CurrentColumn
public int CurrentColumn { get; }
Property Value
NumColumns
public int NumColumns { get; }
Property Value
NumRows
public long NumRows { get; }
Property Value
TotalBytesWritten
public long TotalBytesWritten { get; }
Property Value
TotalCompressedBytes
public long TotalCompressedBytes { get; }
Property Value
Methods
Close()
public void Close()
Column(int)
Get the column writer for the i-th column.
public ColumnWriter Column(int i)
Parameters
i
intThe 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.