Package org.apache.datasketches.tuple
package org.apache.datasketches.tuple
The tuple package contains a number of sketches based on the same
fundamental algorithms of the Theta Sketch Framework and extend these
concepts for whole new families of sketches.
-
ClassDescriptionComputes a set difference, A-AND-NOT-B, of two generic tuple sketches.CompactSketch<S extends Summary>CompactSketches are never created directly.Returns an object and its size in bytes as a result of a deserialize operationIntersection<S extends Summary>Computes an intersection of two or more generic tuple sketches or generic tuple sketches combined with theta sketches.Jaccard similarity of two Tuple Sketches, or alternatively, of a Tuple and Theta Sketch.Multipurpose serializer-deserializer for a collection of sketches defined by the enum.Defines the sketch classes that this SerializerDeserializer can handle.This is an equivalent to org.apache.datasketches.theta.Sketch with addition of a user-defined Summary object associated with every unique entry in the sketch.Convenient static methods to instantiate generic tuple sketches.Interface for user-defined Summary, which is associated with every hash in a tuple sketchSummaryDeserializer<S extends Summary>Interface for deserializing user-defined SummarySummaryFactory<S extends Summary>Interface for user-defined SummaryFactorySummarySetOperations<S extends Summary>This is to provide methods of producing unions and intersections of two Summary objects.TupleSketchIterator<S extends Summary>Iterator over a generic tuple sketchCompute the union of two or more generic tuple sketches or generic tuple sketches combined with theta sketches.UpdatableSketch<U,
S extends UpdatableSummary<U>> An extension of QuickSelectSketch<S>, which can be updated with many types of keys.UpdatableSketchBuilder<U,S extends UpdatableSummary<U>> For building a new generic tuple UpdatableSketchInterface for updating user-defined SummaryCommon utility functions for Tuples