Behaviours: riakc_datatype.
hll_op() = {add_all, [binary()]}
abstract datatype: riakc_hll()
add_element/2 | Adds an element to the hll(set). |
add_elements/2 | Adds elements to the hll(set). |
card/1 | Same as value, but better for users. |
is_type/1 | Determines whether the passed term is a hll type. |
new/0 | Creates a new, empty hll type. |
new/1 | Creates a new hll. |
new/2 | Creates a new hll. |
to_op/1 | Extracts an operation from the hll that can be encoded into an update request. |
type/0 | Returns the symbolic name of this type. |
value/1 | Returns the. |
add_element(Elem::binary(), Hll::riakc_hll()) -> riakc_hll()
Adds an element to the hll(set).
add_elements(Elems::[binary()], Hll::riakc_hll()) -> riakc_hll()
Adds elements to the hll(set).
card(Hll::riakc_hll()) -> number()
Same as value, but better for users.
is_type(T::term()) -> boolean()
Determines whether the passed term is a hll type.
new() -> riakc_hll()
Creates a new, empty hll type.
new(Context::riakc_datatype:context()) -> riakc_hll()
Creates a new hll
new(Value::number(), Context::riakc_datatype:context()) -> riakc_hll()
Creates a new hll
to_op(Hll::riakc_hll()) -> riakc_datatype:update(hll_op())
Extracts an operation from the hll that can be encoded into an update request.
type() -> atom()
Returns the symbolic name of this type.
value(Hll::riakc_hll()) -> number()
Returns the
Generated by EDoc, Dec 16 2016, 16:38:08.