# Package org.apache.datasketches.theta

package org.apache.datasketches.theta
The theta package contains the basic sketch classes that are members of the Theta Sketch Framework.

There is a separate Tuple package for many of the sketches that are derived from the same algorithms defined in the Theta Sketch Framework paper.

Related Packages
Package
Description
org.apache.datasketches
This package is the parent package for all sketch families and common code areas.
Class
Description
AnotB
Computes a set difference, A-AND-NOT-B, of two theta sketches.
BitPacking
Used as part of Theta compression.
CompactSketch
The parent class of all the CompactSketches.
HashIterator
This is used to iterate over the retained hash values of the Theta sketch.
Intersection
The API for intersection operations
JaccardSimilarity
Jaccard similarity of two Theta Sketches.
SetOperation
The parent API for all Set Operations
SetOperationBuilder
For building a new SetOperation.
Sketch
The top-level class for all theta sketches.
Sketches
This class brings together the common sketch and set operation creation methods and the public static methods into one place.
Union
Compute the union of two or more theta sketches.
UpdateReturnState
See Update Return State
UpdateSketch
The parent class for the Update Sketch families, such as QuickSelect and Alpha.
UpdateSketchBuilder
For building a new UpdateSketch.