Package org.apache.datasketches.common
package org.apache.datasketches.common
This package is for common classes that may be used across all the sketch families.
-
ClassDescriptionMethods of serializing and deserializing arrays of Boolean as a bit array.Methods of serializing and deserializing arrays of Double.Base class for serializing and deserializing custom types.Methods of serializing and deserializing arrays of Long.Methods of serializing and deserializing arrays of the object version of primitive types of Number.Methods of serializing and deserializing arrays of String.Methods of serializing and deserializing arrays of String.Confidence intervals for binomial proportions.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.Useful methods for byte arrays.Defines the various families of sketch and set operation classes.This is a callback interface to provide a means to request a new MemorySegment of a specified size.A convenience class that implements a default implementation.This is an example of a possible implementation of the MemorySegmentRequest interface where all requested segments are allocated off-heap.Methods for inquiring the status of a backing MemorySegment.QuickSelect algorithm improved from Sedgewick.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.Illegal Arguments Exception class for the libraryException class for the libraryThis operation or mode is not supported.Write operation attempted on a read-only class.Illegal State Exception class for the libraryValue Layouts for Non-native EndiannessUsed to suppress SpotBug warnings.Common utility functions.