Flow PHP

Writer

FinalYes

Methods

__construct()  : mixed
__destruct()  : mixed
arrow()  : self
close()  : void
isOpen()  : bool
open()  : void
openForStream()  : void
php()  : self
write()  : void
writeBatch()  : void
writeRow()  : void
writeStream()  : void

Methods

__destruct()

public __destruct() : mixed

isOpen()

public isOpen() : bool
Return values
bool

open()

public open(string $path, Schema $schema) : void
Parameters
$path : string
$schema : Schema

openForStream()

public openForStream(DestinationStream $stream, Schema $schema) : void
Parameters
$stream : DestinationStream
$schema : Schema

write()

public write(string $path, Schema $schema, iterable<string|int, array<string, mixed>> $rows) : void
Parameters
$path : string
$schema : Schema
$rows : iterable<string|int, array<string, mixed>>

writeBatch()

public writeBatch(iterable<string|int, array<string, mixed>> $rows) : void
Parameters
$rows : iterable<string|int, array<string, mixed>>

writeRow()

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

writeStream()

public writeStream(DestinationStream $stream, Schema $schema, iterable<string|int, array<string, mixed>> $rows) : void
Parameters
$stream : DestinationStream
$schema : Schema
$rows : iterable<string|int, array<string, mixed>>

        
On this page

Search results