functions.php
from_parquet()
from_parquet(Path|string $path[, array<string|int, string> $columns = [] ][, Options $options = new Options() ][, ByteOrder $byte_order = ByteOrder::LITTLE_ENDIAN ][, null|int $offset = null ]) : ParquetExtractor
Parameters
-
$path
: Path|string
-
-
$columns
: array<string|int, string>
= []
-
- list of columns to read from parquet file - @deprecated use
withColumns
method instead
-
$options
: Options
= new Options()
-
- @deprecated use
withOptions
method instead
-
$byte_order
: ByteOrder
= ByteOrder::LITTLE_ENDIAN
-
- @deprecated use
withByteOrder
method instead
-
$offset
: null|int
= null
-
- @deprecated use
withOffset
method instead
to_parquet()
to_parquet(Path|string $path[, null|Options $options = null ][, Compressions $compressions = Compressions::SNAPPY ][, null|Schema $schema = null ]) : ParquetLoader
Parameters
-
$path
: Path|string
-
-
$options
: null|Options
= null
-
- @deprecated use
withOptions
method instead
-
$compressions
: Compressions
= Compressions::SNAPPY
-
- @deprecated use
withCompressions
method instead
-
$schema
: null|Schema
= null
-
- @deprecated use
withSchema
method instead