ParquetFileWriter
Methods
- 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, array<string|int, mixed>> $rows) : void
Parameters
- $rows : iterable<string|int, array<string|int, mixed>>
writeColumns()
public
writeColumns(array<string, array<int, mixed>> $columns) : void
Parameters
- $columns : array<string, array<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, array<int, mixed>> $columns) : void
Parameters
- $columns : array<string, array<int, mixed>>
-
as writeColumns()