RowGroup
Properties
- $_TSPEC : mixed
- $columns : array<string|int, ColumnChunk>
- Metadata for each column chunk in this row group.
- $file_offset : int
- Byte offset from beginning of file to first page (data or dictionary) in this row group *.
- $isValidate : mixed
- $num_rows : int
- Number of rows in this row group *.
- $ordinal : int
- Row group ordinal in the file *.
- $sorting_columns : array<string|int, SortingColumn>
- If set, specifies a sort ordering of the rows in this RowGroup.
- $total_byte_size : int
- Total byte size of all the uncompressed column data in this row group *.
- $total_compressed_size : int
- Total byte size of all compressed (and potentially encrypted) column data in this row group *.
Methods
- __construct() : mixed
- getName() : mixed
- read() : mixed
- write() : mixed
Properties
$_TSPEC
public
static mixed
$_TSPEC
= [1 => ['var' => 'columns', 'isRequired' => true, 'type' => \Thrift\Type\TType::LST, 'etype' => \Thrift\Type\TType::STRUCT, 'elem' => ['type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\ColumnChunk']], 2 => ['var' => 'total_byte_size', 'isRequired' => true, 'type' => \Thrift\Type\TType::I64], 3 => ['var' => 'num_rows', 'isRequired' => true, 'type' => \Thrift\Type\TType::I64], 4 => ['var' => 'sorting_columns', 'isRequired' => false, 'type' => \Thrift\Type\TType::LST, 'etype' => \Thrift\Type\TType::STRUCT, 'elem' => ['type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\SortingColumn']], 5 => ['var' => 'file_offset', 'isRequired' => false, 'type' => \Thrift\Type\TType::I64], 6 => ['var' => 'total_compressed_size', 'isRequired' => false, 'type' => \Thrift\Type\TType::I64], 7 => ['var' => 'ordinal', 'isRequired' => false, 'type' => \Thrift\Type\TType::I16]]
$columns
Metadata for each column chunk in this row group.
public
array<string|int, ColumnChunk>
$columns
This list must have the same order as the SchemaElement list in FileMetaData.
$file_offset
Byte offset from beginning of file to first page (data or dictionary) in this row group *.
public
int
$file_offset
$isValidate
public
static mixed
$isValidate
= false
$num_rows
Number of rows in this row group *.
public
int
$num_rows
$ordinal
Row group ordinal in the file *.
public
int
$ordinal
$sorting_columns
If set, specifies a sort ordering of the rows in this RowGroup.
public
array<string|int, SortingColumn>
$sorting_columns
The sorting columns can be a subset of all the columns.
$total_byte_size
Total byte size of all the uncompressed column data in this row group *.
public
int
$total_byte_size
$total_compressed_size
Total byte size of all compressed (and potentially encrypted) column data in this row group *.
public
int
$total_compressed_size
Methods
__construct()
public
__construct([mixed $vals = null ]) : mixed
Parameters
- $vals : mixed = null
getName()
public
getName() : mixed
read()
public
read(mixed $input) : mixed
Parameters
- $input : mixed
write()
public
write(mixed $output) : mixed
Parameters
- $output : mixed