datasketches-cpp
|
Tuple Union. More...
#include <tuple_union.hpp>
Classes | |
class | builder |
Tuple union builder. More... | |
Public Member Functions | |
template<typename FwdSketch > | |
void | update (FwdSketch &&sketch) |
Update the union with a given sketch. More... | |
CompactSketch | get_result (bool ordered=true) const |
Produces a copy of the current state of the union as a compact sketch. More... | |
void | reset () |
Reset the union to the initial empty state. | |
Tuple Union.
Computes union of Tuple sketches. There is no constructor. Use builder instead.
void update | ( | FwdSketch && | sketch | ) |
Update the union with a given sketch.
sketch | to update the union with |
auto get_result | ( | bool | ordered = true | ) | const |
Produces a copy of the current state of the union as a compact sketch.
ordered | optional flag to specify if an ordered sketch should be produced |