PhpParquetFileWriter implements ParquetFileWriter
FinalYes
Interfaces
Methods
- __construct() : mixed
- close() : void
- Writes what is buffered and the footer, then closes the stream it was opened on. The writer is closed afterwards even when this throws; any later call throws RuntimeException('Writer is not open').
- writeBatch() : void
- writeRow() : void
Methods
__construct()
public
__construct(DestinationStream $stream, Schema $schema, Compressions $compression, Options $options, int $rowGroupSizeCheckInterval) : mixed
Parameters
- $stream : DestinationStream
- $schema : Schema
- $compression : Compressions
- $options : Options
- $rowGroupSizeCheckInterval : int
close()
Writes what is buffered and the footer, then closes the stream it was opened on. The writer is closed afterwards even when this throws; any later call throws RuntimeException('Writer is not open').
public
close() : void
writeBatch()
public
writeBatch(iterable<string|int, mixed> $rows) : void
Parameters
- $rows : iterable<string|int, mixed>
writeRow()
public
writeRow(array<string|int, mixed> $row) : void
Parameters
- $row : array<string|int, mixed>