Flow PHP

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]]

$is_sorted

If true, the entries in the dictionary are sorted in ascending order *.

public bool $is_sorted

Methods

__construct()

public __construct([mixed $vals = null ]) : mixed
Parameters
$vals : mixed = null

        
On this page

Search results