JsonLinesLoader implements Closure, Loader, FileLoader
FinalYes
Interfaces
- Closure
- Loader
- FileLoader
Methods
- __construct() : mixed
- closure() : void
- destination() : Path
- load() : void
- withDateTimeFormat() : self
- withFlags() : self
- write() : void
Methods
__construct()
public
__construct(Path $path) : mixed
Parameters
- $path : Path
closure()
public
closure(FlowContext $context) : void
Parameters
- $context : FlowContext
destination()
public
destination() : Path
Return values
Pathload()
public
load(Rows $rows, FlowContext $context) : void
Parameters
- $rows : Rows
- $context : FlowContext
withDateTimeFormat()
public
withDateTimeFormat(string $dateTimeFormat) : self
Parameters
- $dateTimeFormat : string
Return values
selfwithFlags()
public
withFlags(int $flags) : self
Parameters
- $flags : int
Return values
selfwrite()
public
write(Rows $nextRows, array<string|int, Partition> $partitions, FlowContext $context) : void
Parameters
- $nextRows : Rows
- $partitions : array<string|int, Partition>
- $context : FlowContext