OffsetIndex
Optional offsets for each data page in a ColumnChunk.
Forms part of the page index, along with ColumnIndex.
OffsetIndex may be present even if ColumnIndex is not.
Properties
- $_TSPEC : mixed
- $isValidate : mixed
- $page_locations : array<string|int, PageLocation>
- PageLocations, ordered by increasing PageLocation.offset. It is required that page_locations[i].first_row_index < page_locations[i+1].first_row_index.
- $unencoded_byte_array_data_bytes : array<string|int, int>
- Unencoded/uncompressed size for BYTE_ARRAY types.
Methods
- __construct() : mixed
- getName() : mixed
- read() : mixed
- write() : mixed
Properties
$_TSPEC
public
static mixed
$_TSPEC
= [1 => ['var' => 'page_locations', 'isRequired' => true, 'type' => \Thrift\Type\TType::LST, 'etype' => \Thrift\Type\TType::STRUCT, 'elem' => ['type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\PageLocation']], 2 => ['var' => 'unencoded_byte_array_data_bytes', 'isRequired' => false, 'type' => \Thrift\Type\TType::LST, 'etype' => \Thrift\Type\TType::I64, 'elem' => ['type' => \Thrift\Type\TType::I64]]]
$isValidate
public
static mixed
$isValidate
= false
$page_locations
PageLocations, ordered by increasing PageLocation.offset. It is required that page_locations[i].first_row_index < page_locations[i+1].first_row_index.
public
array<string|int, PageLocation>
$page_locations
$unencoded_byte_array_data_bytes
Unencoded/uncompressed size for BYTE_ARRAY types.
public
array<string|int, int>
$unencoded_byte_array_data_bytes
See documention for unencoded_byte_array_data_bytes in SizeStatistics for more details on this field.
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