Flow PHP

ParquetExtractor implements BatchableExtractor, Extractor, FileExtractor, LimitPushDown, MetadataColumnsExtractor, RewindableExtractor uses Batches, PushesLimit, FileReading

FinalYes

Interfaces

BatchableExtractor
Extractor
FileExtractor
LimitPushDown
MetadataColumnsExtractor
RewindableExtractor

Methods

__construct()  : mixed
extract()  : Generator<Signal|null, void>
isRepeatable()  : bool
schema()  : Schema
source()  : Path
unionByName()  : self
Reconcile every listed file's schema instead of trusting the first one.
withByteOrder()  : self
withColumns()  : self
withEngine()  : self
withOffset()  : self
withOptions()  : self
withSchema()  : static

Methods

__construct()

public __construct(Path $path[, Filesystem $filesystem = new NativeLocalFilesystem() ]) : mixed
Parameters
$path : Path
$filesystem : Filesystem = new NativeLocalFilesystem()

extract()

public extract(FlowContext $context) : Generator<Signal|null, void>
Parameters
$context : FlowContext
Return values
Generator<Signal|null, void>

unionByName()

Reconcile every listed file's schema instead of trusting the first one.

public unionByName([bool $union = true ]) : self
Parameters
$union : bool = true
Return values
self

withByteOrder()

public withByteOrder(ByteOrder $byteOrder) : self
Parameters
$byteOrder : ByteOrder
Return values
self

withColumns()

public withColumns(array<string|int, string> $columns) : self
Parameters
$columns : array<string|int, string>
Return values
self

withEngine()

public withEngine(ParquetEngine|null $engine) : self
Parameters
$engine : ParquetEngine|null
Return values
self

withOffset()

public withOffset(int $offset) : self
Parameters
$offset : int
Return values
self

withOptions()

public withOptions(Options $options) : self
Parameters
$options : Options
Return values
self

withSchema()

public withSchema(Schema $schema) : static
Parameters
$schema : Schema
Return values
static
On this page

Search results