Package org.apache.datasketches.common
This package is for common classes that may be used across all the sketch families.
-
Class Summary Class Description ArrayOfBooleansSerDe Methods of serializing and deserializing arrays of Boolean as a bit array.ArrayOfDoublesSerDe Methods of serializing and deserializing arrays of Double.ArrayOfItemsSerDe<T> Base class for serializing and deserializing custom types.ArrayOfLongsSerDe Methods of serializing and deserializing arrays of Long.ArrayOfNumbersSerDe Methods of serializing and deserializing arrays of the object version of primitive types of Number.ArrayOfStringsSerDe Methods of serializing and deserializing arrays of String.ArrayOfUtf16StringsSerDe Methods of serializing and deserializing arrays of String.BoundsOnBinomialProportions Confidence intervals for binomial proportions.BoundsOnRatiosInSampledSets This class is used to compute the bounds on the estimate of the ratio |B| / |A|, where: |A| is the unknown size of a set A of unique identifiers. |B| is the unknown size of a subset B of A. a = |SA| is the observed size of a sample of A that was obtained by Bernoulli sampling with a known inclusion probability f. b = |SA ∩ B| is the observed size of a subset of SA.ByteArrayUtil Useful methods for byte arrays.Util Common utility functions. -
Enum Summary Enum Description Family Defines the various families of sketch and set operation classes.ResizeFactor For the Families that accept this configuration parameter, it controls the size multiple that affects how fast the internal cache grows, when more space is required. -
Exception Summary Exception Description SketchesArgumentException Illegal Arguments Exception class for the librarySketchesException Exception class for the librarySketchesReadOnlyException Write operation attempted on a read-only class.SketchesStateException Illegal State Exception class for the library -
Annotation Types Summary Annotation Type Description SuppressFBWarnings Used to suppress SpotBug warnings.