Flow PHP

Statistics

Statistics per row group and per page All fields are optional.

Properties

$_TSPEC  : mixed
$distinct_count  : int
count of distinct values occurring.
$is_max_value_exact  : bool
If true, max_value is the actual maximum value for a column.
$is_min_value_exact  : bool
If true, min_value is the actual minimum value for a column.
$isValidate  : mixed
$max  : string
DEPRECATED: min and max value of the column. Use min_value and max_value.
$max_value  : string
Lower and upper bound values for the column, determined by its ColumnOrder.
$min  : string
$min_value  : string
$null_count  : int
Count of null values in the column.

Methods

__construct()  : mixed
getName()  : mixed
read()  : mixed
write()  : mixed

Properties

$_TSPEC

public static mixed $_TSPEC = [1 => ['var' => 'max', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRING], 2 => ['var' => 'min', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRING], 3 => ['var' => 'null_count', 'isRequired' => false, 'type' => \Thrift\Type\TType::I64], 4 => ['var' => 'distinct_count', 'isRequired' => false, 'type' => \Thrift\Type\TType::I64], 5 => ['var' => 'max_value', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRING], 6 => ['var' => 'min_value', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRING], 7 => ['var' => 'is_max_value_exact', 'isRequired' => false, 'type' => \Thrift\Type\TType::BOOL], 8 => ['var' => 'is_min_value_exact', 'isRequired' => false, 'type' => \Thrift\Type\TType::BOOL]]

$distinct_count

count of distinct values occurring.

public int $distinct_count

$is_max_value_exact

If true, max_value is the actual maximum value for a column.

public bool $is_max_value_exact

$is_min_value_exact

If true, min_value is the actual minimum value for a column.

public bool $is_min_value_exact

$isValidate

public static mixed $isValidate = false

$max

DEPRECATED: min and max value of the column. Use min_value and max_value.

public string $max

Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix.

These fields encode min and max values determined by signed comparison only. New files should use the correct order for a column's logical type and store the values in the min_value and max_value fields.

To support older readers, these may be set when the column order is signed.

$max_value

Lower and upper bound values for the column, determined by its ColumnOrder.

public string $max_value

These may be the actual minimum and maximum values found on a page or column chunk, but can also be (more compact) values that do not exist on a page or column chunk. For example, instead of storing "Blart Versenwald III", a writer may set min_value="B", max_value="C". Such more compact values must still be valid values within the column's logical type.

Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix.

$null_count

Count of null values in the column.

public int $null_count

Writers SHOULD always write this field even if it is zero (i.e. no null value) or the column is not nullable. Readers MUST distinguish between null_count not being present and null_count == 0. If null_count is not present, readers MUST NOT assume null_count == 0.

Methods

__construct()

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

read()

public read(mixed $input) : mixed
Parameters
$input : mixed

write()

public write(mixed $output) : mixed
Parameters
$output : mixed

        
On this page

Search results