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
= [1 => ['var' => 'numBytes', 'isRequired' => true, 'type' => \Thrift\Type\TType::I32], 2 => ['var' => 'algorithm', 'isRequired' => true, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\BloomFilterAlgorithm'], 3 => ['var' => 'hash', 'isRequired' => true, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\BloomFilterHash'], 4 => ['var' => 'compression', 'isRequired' => true, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\BloomFilterCompression']]
$algorithm
The algorithm for setting bits. *.
public
BloomFilterAlgorithm
$algorithm
$compression
The compression used in the Bloom filter *.
public
BloomFilterCompression
$compression
$hash
The hash function used for Bloom filter. *.
public
BloomFilterHash
$hash
$isValidate
public
static mixed
$isValidate
= false
$numBytes
The size of bitset in bytes *.
public
int
$numBytes
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