apache / datasketches-java

A software library of stochastic streaming algorithms, a.k.a. sketches.

Home Page:https://datasketches.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to serialize|deserialize sketch?

cadet354 opened this issue · comments

Hi,
thank you for that great library, one question: how to serialize|deserialize sketch?
For example, HeapUpdateSketch has toByteArray method and I can write to file, but how to deserialize from byte array?

Ok, I found the Sketches.heapifySketch method.