Flow PHP

PhpParquetFileWriter 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
writeColumns()  : void
writeRow()  : void
writeStoredColumns()  : void
writeColumns() with every DATE, TIMESTAMP, TIME and UUID value, at any depth, as readStoredColumns() reads it.

Methods

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>

writeColumns()

public writeColumns(array<string|int, mixed> $columns) : void
Parameters
$columns : array<string|int, mixed>

by top-level column name, every list of one length; a schema column the array lacks is written as nulls, a key the schema lacks is ignored

writeRow()

public writeRow(array<string|int, mixed> $row) : void
Parameters
$row : array<string|int, mixed>

writeStoredColumns()

writeColumns() with every DATE, TIMESTAMP, TIME and UUID value, at any depth, as readStoredColumns() reads it.

public writeStoredColumns(array<string|int, mixed> $columns) : void
Parameters
$columns : array<string|int, mixed>

as writeColumns()

On this page

Search results