Flow PHP

BloomFilterHeader

Bloom filter header is stored at beginning of Bloom filter data of each column and followed by its bitset.

Properties

$_TSPEC  : mixed
$algorithm  : BloomFilterAlgorithm
The algorithm for setting bits. *
$compression  : BloomFilterCompression
The compression used in the Bloom filter *
$hash  : BloomFilterHash
The hash function used for Bloom filter. *
$isValidate  : mixed
$numBytes  : int
The size of bitset in bytes *

Methods

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

Properties

$_TSPEC

public static mixed $_TSPEC = array(1 => array('var' => 'numBytes', 'isRequired' => true, 'type' => \Thrift\Type\TType::I32), 2 => array('var' => 'algorithm', 'isRequired' => true, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\BloomFilterAlgorithm'), 3 => array('var' => 'hash', 'isRequired' => true, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\BloomFilterHash'), 4 => array('var' => 'compression', 'isRequired' => true, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\BloomFilterCompression'))

Methods

__construct()

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

Search results