Skip to main content
Skip to main content

uniqTheta Functions

uniqTheta functions work for two uniqThetaSketch objects to do set operation calculations such as ∪ / ∩ / × (union/intersect/not), it is to return a new uniqThetaSketch object contain the result.

A uniqThetaSketch object is to be constructed by aggregation function uniqTheta with -State.

UniqThetaSketch is a data structure storage of approximate values set. For more information on RoaringBitmap, see: Theta Sketch Framework.

uniqThetaUnion

Two uniqThetaSketch objects to do union calculation(set operation ∪), the result is a new uniqThetaSketch.

Arguments

  • uniqThetaSketch – uniqThetaSketch object.

Example

uniqThetaIntersect

Two uniqThetaSketch objects to do intersect calculation(set operation ∩), the result is a new uniqThetaSketch.

Arguments

  • uniqThetaSketch – uniqThetaSketch object.

Example

uniqThetaNot

Two uniqThetaSketch objects to do a_not_b calculation(set operation ×), the result is a new uniqThetaSketch.

Arguments

  • uniqThetaSketch – uniqThetaSketch object.

Example

See Also