ddskerl behaviour (ddskerl v0.3.0)
View SourceDDSketch behaviour.
Summary
Types
-type ddsketch() :: ddskerl_std:ddsketch() | ddskerl_bound:ddsketch() | ddskerl_ets:ddsketch() | ddskerl_counters:ddsketch().
DDSketch instance.
Options for the DDSketch.
Callbacks
Insert a value into the DDSketch.
Merge two DDSketch instances.
Create a new DDSketch instance.
Calculate the quantile of a DDSketch.
Get the sum number of elements in the DDSketch.
-callback total(ddsketch()) -> non_neg_integer().
Get the total number of elements in the DDSketch.