DictionaryPageHeader
The dictionary page must be placed at the first position of the column chunk if it is partly or completely dictionary encoded. At most one dictionary page can be placed in a column chunk.
Properties
- $_TSPEC : mixed
- $encoding : int
- Encoding using this dictionary page *.
- $is_sorted : bool
- If true, the entries in the dictionary are sorted in ascending order *.
- $isValidate : mixed
- $num_values : int
- Number of values in the dictionary *.
Methods
- __construct() : mixed
- getName() : mixed
- read() : mixed
- write() : mixed
Properties
$_TSPEC
public
static mixed
$_TSPEC
= [1 => ['var' => 'num_values', 'isRequired' => true, 'type' => \Thrift\Type\TType::I32], 2 => ['var' => 'encoding', 'isRequired' => true, 'type' => \Thrift\Type\TType::I32, 'class' => '\Flow\Parquet\Thrift\Encoding'], 3 => ['var' => 'is_sorted', 'isRequired' => false, 'type' => \Thrift\Type\TType::BOOL]]
$encoding
Encoding using this dictionary page *.
public
int
$encoding
$is_sorted
If true, the entries in the dictionary are sorted in ascending order *.
public
bool
$is_sorted
$isValidate
public
static mixed
$isValidate
= false
$num_values
Number of values in the dictionary *.
public
int
$num_values
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