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'))
$algorithm
The algorithm for setting bits. *
public
BloomFilterAlgorithm
$algorithm
= null
$compression
The compression used in the Bloom filter *
public
BloomFilterCompression
$compression
= null
$hash
The hash function used for Bloom filter. *
public
BloomFilterHash
$hash
= null
$isValidate
public
static mixed
$isValidate
= false
$numBytes
The size of bitset in bytes *
public
int
$numBytes
= null
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