# 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
CompactThetaSketch
The parent class of all the CompactThetaSketches.
HashIterator
This is used to iterate over the retained hash values of the Theta sketch.
JaccardSimilarity
Jaccard similarity of two ThetaSketches.
ThetaAnotB
Computes a set difference, A-AND-NOT-B, of two ThetaSketches.
ThetaIntersection
The API for intersection operations
ThetaSetOperation
The parent API for all Set Operations
ThetaSetOperationBuilder
For building a new ThetaSetOperation.
ThetaSketch
The top-level class for all theta sketches.
ThetaUnion
Compute the union of two or more theta sketches.
UpdatableThetaSketch
The parent class for the UpdatableThetaSketch families, such as QuickSelectThetaSketch and AlphaSketch.
UpdatableThetaSketchBuilder
For building a new UpdatableThetaSketch.
UpdateReturnState
See Update Return State