Function aerospike::expressions::hll::describe
source · pub fn describe(bin: FilterExpression) -> FilterExpression
Expand description
Create expression that returns indexBitCount
and minHashBitCount
used to create HLL bin
in a list of longs. list[0]
is indexBitCount
and list[1]
is minHashBitCount
.
use aerospike::expressions::{ExpType, lt, int_val, hll_bin};
use aerospike::expressions::lists::{get_by_index};
use aerospike::operations::lists::ListReturnType;
use aerospike::expressions::hll::describe;
// Bin "a" `indexBitCount` < 10
lt(get_by_index(ListReturnType::Values, ExpType::INT, int_val(0), describe(hll_bin("a".to_string())), &[]), int_val(10));