FloeStreamWriter
FinalYes
Methods
- close() : void
- create() : self
- resume() : self
- write() : void
- writerVersion() : string
Methods
close()
public
close() : void
Tags
create()
public
static create(DestinationStream $stream, Schema $schema, Backend $backend[, Options $options = new Options() ][, Metadata|null $metadata = null ]) : self
Parameters
- $stream : DestinationStream
- $schema : Schema
-
fixes the session schema for the writer's life
- $backend : Backend
- $options : Options = new Options()
- $metadata : Metadata|null = null
Tags
Return values
selfresume()
public
static resume(DestinationStream $stream, Footer $footer, int $fileLength, Schema $schema, Backend $backend[, Options $options = new Options() ][, Metadata|null $metadata = null ]) : self
Parameters
- $stream : DestinationStream
- $footer : Footer
- $fileLength : int
- $schema : Schema
- $backend : Backend
- $options : Options = new Options()
- $metadata : Metadata|null = null
-
merged over the footer metadata, new keys win
Tags
Return values
selfwrite()
public
write(Rows $rows) : void
Parameters
- $rows : Rows
Tags
writerVersion()
public
static writerVersion() : string