RowGroup
Properties
- $_TSPEC : mixed
- $columns : array<string|int, ColumnChunk>
- Metadata for each column chunk in this row group.
- $file_offset : null|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 : null|int
- Row group ordinal in the file *
- $sorting_columns : null|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 : null|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
= array(1 => array('var' => 'columns', 'isRequired' => true, 'type' => \Thrift\Type\TType::LST, 'etype' => \Thrift\Type\TType::STRUCT, 'elem' => array('type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\ColumnChunk')), 2 => array('var' => 'total_byte_size', 'isRequired' => true, 'type' => \Thrift\Type\TType::I64), 3 => array('var' => 'num_rows', 'isRequired' => true, 'type' => \Thrift\Type\TType::I64), 4 => array('var' => 'sorting_columns', 'isRequired' => false, 'type' => \Thrift\Type\TType::LST, 'etype' => \Thrift\Type\TType::STRUCT, 'elem' => array('type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\SortingColumn')), 5 => array('var' => 'file_offset', 'isRequired' => false, 'type' => \Thrift\Type\TType::I64), 6 => array('var' => 'total_compressed_size', 'isRequired' => false, 'type' => \Thrift\Type\TType::I64), 7 => array('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
= null
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
null|int
$file_offset
= null
$isValidate
public
static mixed
$isValidate
= false
$num_rows
Number of rows in this row group *
public
int
$num_rows
= null
$ordinal
Row group ordinal in the file *
public
null|int
$ordinal
= null
$sorting_columns
If set, specifies a sort ordering of the rows in this RowGroup.
public
null|array<string|int, SortingColumn>
$sorting_columns
= null
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
= null
$total_compressed_size
Total byte size of all compressed (and potentially encrypted) column data in this row group *
public
null|int
$total_compressed_size
= null
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