Flow PHP

Partitioning

Read onlyYes
FinalYes

Properties

$by  : References
$writeColumns  : bool

Methods

by()  : self
fromArray()  : self
none()  : self
normalize()  : array{by: list, write_columns: bool}
writeColumns()  : self
Keep the partition columns in the file body as well as in the path. Off by default.

Properties

Methods

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>

the shape of normalize()

Return values
self

normalize()

public normalize() : array{by: list, write_columns: bool}
Return values
array{by: list, write_columns: bool}

writeColumns()

Keep the partition columns in the file body as well as in the path. Off by default.

public writeColumns([bool $writeColumns = true ]) : self
Parameters
$writeColumns : bool = true
Return values
self
On this page

Search results