Flow PHP

Statistics

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

Properties

$_TSPEC  : mixed
$distinct_count  : null|int
count of distinct values occurring
$is_max_value_exact  : null|bool
If true, max_value is the actual maximum value for a column
$is_min_value_exact  : null|bool
If true, min_value is the actual minimum value for a column
$isValidate  : mixed
$max  : null|string
DEPRECATED: min and max value of the column. Use min_value and max_value.
$max_value  : null|string
Lower and upper bound values for the column, determined by its ColumnOrder.
$min  : null|string
$min_value  : null|string
$nan_count  : null|int
Count of NaN values in the column; only present if physical type is FLOAT or DOUBLE, or logical type is FLOAT16.
$null_count  : null|int
Count of null values in the column.

Methods

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

Properties

$_TSPEC

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

$distinct_count

count of distinct values occurring

public null|int $distinct_count = null

$is_max_value_exact

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

public null|bool $is_max_value_exact = null

$is_min_value_exact

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

public null|bool $is_min_value_exact = null

$isValidate

public static mixed $isValidate = false

$max

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

public null|string $max = null

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 null|string $max_value = null

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.

$min_value

public null|string $min_value = null

$nan_count

Count of NaN values in the column; only present if physical type is FLOAT or DOUBLE, or logical type is FLOAT16.

public null|int $nan_count = null

If this field is not present, readers MUST assume NaNs may be present (i.e. MUST assume nan_count > 0 and MAY NOT assume nan_count == 0).

$null_count

Count of null values in the column.

public null|int $null_count = null

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