Flow PHP

FileColumns

Read onlyYes
FinalYes

Both read paths take the tail from one instance of this, in one order, so they cannot disagree.

Methods

__construct()  : mixed
apply()  : Rows
declare()  : Schema
forFile()  : FileConstants
Takes the schema declare() already produced, so the values and the schema they are written under can never come from two different declarations.
tail()  : array<int, string>
withoutTail()  : Schema
So a source carrying a partition-named column in its body does not get it typed from the data.

Methods

tail()

public tail() : array<int, string>
Return values
array<int, string>

withoutTail()

So a source carrying a partition-named column in its body does not get it typed from the data.

public withoutTail(Schema $inferred) : Schema
Parameters
$inferred : Schema
Return values
Schema
On this page

Search results