This module defines the riakc_datatype behaviour.
Required callback functions: new/0, new/1, new/2, value/1, to_op/1, is_type/1, type/0.
'maybe'(T) = T | undefined
context() = 'maybe'(binary())
datatype() = term()
typename() = atom()
update(T) = 'maybe'({typename(), T, context()})
| module_for_term/1 | Returns the appropriate container module for the given term, if possible. |
| module_for_type/1 |
module_for_term(T::datatype()) -> 'maybe'(module())
Returns the appropriate container module for the given term, if possible.
module_for_type(Type::atom()) -> module()
Generated by EDoc