Riak.CRDT.Set

Encapsulates riakc_set using elixir Set functions as interface. It accepts only binary as items.

Summary

Functions

Delete value on set

Checks if set contains value

Create an empty set

Insert value on set

Returns the number of elements in set

Get original value as an ordset

Functions

delete(set, value)

Delete value on set

member?(set, value)

Checks if set contains value.

new()

Create an empty set

put(set, value)

Insert value on set

size(set)

Returns the number of elements in set

value(set)

Get original value as an ordset