Flow PHP

ArrowParquetFileWriter implements ParquetFileWriter

FinalYes

Interfaces

ParquetFileWriter

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(Writer $arrowWriter, DestinationStream $stream, array<int, string> $columnNames, int $batchSizeLimit) : mixed
Parameters
$arrowWriter : Writer
$stream : DestinationStream
$columnNames : array<int, string>
$batchSizeLimit : 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>
On this page

Search results