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
$by
public
References
$by
$writeColumns
public
bool
$writeColumns
= false
Methods
by()
public
static by(string|Reference $column, string|Reference ...$columns) : self
Parameters
Return values
selffromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
-
the shape of normalize()
Return values
selfnone()
public
static none() : self
Return values
selfnormalize()
public
normalize() : array{by: list, write_columns: bool}
Return values
array{by: listwriteColumns()
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