blob: f7f0d12a3e6899cb73e7bf1326b8600595b0c31c [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Uses of Class org.apache.datasketches.tuple.Sketch (datasketches-java 4.0.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.datasketches.tuple.Sketch (datasketches-java 4.0.0 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Class org.apache.datasketches.tuple.Sketch" class="title">Uses of Class<br>org.apache.datasketches.tuple.Sketch</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.datasketches.fdt">org.apache.datasketches.fdt</a></th>
<td class="colLast">
<div class="block">Frequent Distinct Tuples Sketch</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.datasketches.thetacommon">org.apache.datasketches.thetacommon</a></th>
<td class="colLast">
<div class="block">This package contains common tools and methods for the <i>theta</i>,
<i>tuple</i>, <i>tuple/*</i> and <i>fdt</i> packages.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.datasketches.tuple">org.apache.datasketches.tuple</a></th>
<td class="colLast">
<div class="block">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.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.datasketches.tuple.adouble">org.apache.datasketches.tuple.adouble</a></th>
<td class="colLast">
<div class="block">This package is for a generic implementation of the Tuple sketch for single Double value.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.datasketches.tuple.aninteger">org.apache.datasketches.tuple.aninteger</a></th>
<td class="colLast">
<div class="block">This package is for a generic implementation of the Tuple sketch for single Integer value.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.datasketches.tuple.strings">org.apache.datasketches.tuple.strings</a></th>
<td class="colLast">
<div class="block">This package is for a generic implementation of the Tuple sketch for single String value.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section><a id="org.apache.datasketches.fdt">
<!-- -->
</a>
<h3>Uses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../../fdt/package-summary.html">org.apache.datasketches.fdt</a></h3>
<table class="useSummary">
<caption><span>Subclasses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../../fdt/package-summary.html">org.apache.datasketches.fdt</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../fdt/FdtSketch.html" title="class in org.apache.datasketches.fdt">FdtSketch</a></span></code></th>
<td class="colLast">
<div class="block">A Frequent Distinct Tuples sketch.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section><a id="org.apache.datasketches.thetacommon">
<!-- -->
</a>
<h3>Uses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../../thetacommon/package-summary.html">org.apache.datasketches.thetacommon</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../thetacommon/package-summary.html">org.apache.datasketches.thetacommon</a> with parameters of type <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BoundsOnRatiosInTupleSketchedSets.</span><code><span class="memberNameLink"><a href="../../thetacommon/BoundsOnRatiosInTupleSketchedSets.html#getEstimateOfBoverA(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch)">getEstimateOfBoverA</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchB)</code></th>
<td class="colLast">
<div class="block">Gets the estimate for B over A</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BoundsOnRatiosInTupleSketchedSets.</span><code><span class="memberNameLink"><a href="../../thetacommon/BoundsOnRatiosInTupleSketchedSets.html#getEstimateOfBoverA(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch)">getEstimateOfBoverA</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchB)</code></th>
<td class="colLast">
<div class="block">Gets the estimate for B over A</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BoundsOnRatiosInTupleSketchedSets.</span><code><span class="memberNameLink"><a href="../../thetacommon/BoundsOnRatiosInTupleSketchedSets.html#getLowerBoundForBoverA(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch)">getLowerBoundForBoverA</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchB)</code></th>
<td class="colLast">
<div class="block">Gets the approximate lower bound for B over A based on a 95% confidence interval</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BoundsOnRatiosInTupleSketchedSets.</span><code><span class="memberNameLink"><a href="../../thetacommon/BoundsOnRatiosInTupleSketchedSets.html#getLowerBoundForBoverA(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch)">getLowerBoundForBoverA</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchB)</code></th>
<td class="colLast">
<div class="block">Gets the approximate lower bound for B over A based on a 95% confidence interval</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BoundsOnRatiosInTupleSketchedSets.</span><code><span class="memberNameLink"><a href="../../thetacommon/BoundsOnRatiosInTupleSketchedSets.html#getUpperBoundForBoverA(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch)">getUpperBoundForBoverA</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchB)</code></th>
<td class="colLast">
<div class="block">Gets the approximate upper bound for B over A based on a 95% confidence interval</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BoundsOnRatiosInTupleSketchedSets.</span><code><span class="memberNameLink"><a href="../../thetacommon/BoundsOnRatiosInTupleSketchedSets.html#getUpperBoundForBoverA(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch)">getUpperBoundForBoverA</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchB)</code></th>
<td class="colLast">
<div class="block">Gets the approximate upper bound for B over A based on a 95% confidence interval</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section><a id="org.apache.datasketches.tuple">
<!-- -->
</a>
<h3>Uses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../package-summary.html">org.apache.datasketches.tuple</a></h3>
<table class="useSummary">
<caption><span>Subclasses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../package-summary.html">org.apache.datasketches.tuple</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;</span></code></th>
<td class="colLast">
<div class="block">CompactSketches are never created directly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../UpdatableSketch.html" title="class in org.apache.datasketches.tuple">UpdatableSketch</a>&lt;U,&#8203;S extends <a href="../UpdatableSummary.html" title="interface in org.apache.datasketches.tuple">UpdatableSummary</a>&lt;U&gt;&gt;</span></code></th>
<td class="colLast">
<div class="block">An extension of QuickSelectSketch&lt;S&gt;, which can be updated with many types of keys.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.datasketches.tuple</a> that return <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br><a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Sketches.</span><code><span class="memberNameLink"><a href="../Sketches.html#createEmptySketch()">createEmptySketch</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br><a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Sketches.</span><code><span class="memberNameLink"><a href="../Sketches.html#heapifySketch(org.apache.datasketches.memory.Memory,org.apache.datasketches.tuple.SummaryDeserializer)">heapifySketch</a></span>&#8203;(org.apache.datasketches.memory.Memory&nbsp;mem,
<a href="../SummaryDeserializer.html" title="interface in org.apache.datasketches.tuple">SummaryDeserializer</a>&lt;S&gt;&nbsp;deserializer)</code></th>
<td class="colLast">
<div class="block">Instantiate a Sketch from a given Memory.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.datasketches.tuple</a> with parameters of type <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;S&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../AnotB.html#aNotB(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch)">aNotB</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;skA,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skB)</code></th>
<td class="colLast">
<div class="block">Returns the A-and-not-B set operation on a Tuple sketch and a Theta sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;S&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../AnotB.html#aNotB(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch)">aNotB</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;skA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;skB)</code></th>
<td class="colLast">
<div class="block">Returns the A-and-not-B set operation on the two given Tuple sketches.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#dissimilarityTest(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch,S,org.apache.datasketches.tuple.SummarySetOperations,double)">dissimilarityTest</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;measured,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;expected,
S&nbsp;summary,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps,
double&nbsp;threshold)</code></th>
<td class="colLast">
<div class="block">Tests dissimilarity of a measured Sketch against an expected Sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#dissimilarityTest(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.SummarySetOperations,double)">dissimilarityTest</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;measured,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;expected,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps,
double&nbsp;threshold)</code></th>
<td class="colLast">
<div class="block">Tests dissimilarity of a measured Sketch against an expected Sketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#exactlyEqual(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch,S,org.apache.datasketches.tuple.SummarySetOperations)">exactlyEqual</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchB,
S&nbsp;summary,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps)</code></th>
<td class="colLast">
<div class="block">Returns true if the two given sketches have exactly the same hash values and the same
theta values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#exactlyEqual(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.SummarySetOperations)">exactlyEqual</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchB,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps)</code></th>
<td class="colLast">
<div class="block">Returns true if the two given sketches have exactly the same hash values and the same
theta values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;<a href="../Filter.html" title="type parameter in Filter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Filter.</span><code><span class="memberNameLink"><a href="../Filter.html#filter(org.apache.datasketches.tuple.Sketch)">filter</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Filter.html" title="type parameter in Filter">T</a>&gt;&nbsp;sketchIn)</code></th>
<td class="colLast">
<div class="block">Filters elements on the provided <a href="../Sketch.html" title="class in org.apache.datasketches.tuple"><code>Sketch</code></a></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Intersection.</span><code><span class="memberNameLink"><a href="../Intersection.html#intersect(org.apache.datasketches.tuple.Sketch)">intersect</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Intersection.html" title="type parameter in Intersection">S</a>&gt;&nbsp;tupleSketch)</code></th>
<td class="colLast">
<div class="block">Performs a stateful intersection of the internal set with the given tupleSketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;<a href="../Intersection.html" title="type parameter in Intersection">S</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Intersection.</span><code><span class="memberNameLink"><a href="../Intersection.html#intersect(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch,S)">intersect</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Intersection.html" title="type parameter in Intersection">S</a>&gt;&nbsp;tupleSketch,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;thetaSketch,
<a href="../Intersection.html" title="type parameter in Intersection">S</a>&nbsp;summary)</code></th>
<td class="colLast">
<div class="block">Perform a stateless intersect set operation on a tuple sketch and a theta sketch and returns the
result as an unordered CompactSketch on the heap.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;<a href="../Intersection.html" title="type parameter in Intersection">S</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Intersection.</span><code><span class="memberNameLink"><a href="../Intersection.html#intersect(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch)">intersect</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Intersection.html" title="type parameter in Intersection">S</a>&gt;&nbsp;tupleSketchA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Intersection.html" title="type parameter in Intersection">S</a>&gt;&nbsp;tupleSketchB)</code></th>
<td class="colLast">
<div class="block">Perform a stateless intersect set operation on the two given tuple sketches and returns the
result as an unordered CompactSketch on the heap.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double[]</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#jaccard(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch,S,org.apache.datasketches.tuple.SummarySetOperations)">jaccard</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchB,
S&nbsp;summary,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps)</code></th>
<td class="colLast">
<div class="block">Computes the Jaccard similarity index with upper and lower bounds.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>double[]</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#jaccard(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.SummarySetOperations)">jaccard</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;sketchB,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps)</code></th>
<td class="colLast">
<div class="block">Computes the Jaccard similarity index with upper and lower bounds.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../AnotB.html#notB(org.apache.datasketches.tuple.Sketch)">notB</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../AnotB.html" title="type parameter in AnotB">S</a>&gt;&nbsp;skB)</code></th>
<td class="colLast">
<div class="block">This is part of a multistep, stateful AnotB operation and sets the given Tuple sketch as the
second (or <i>n+1</i>th) argument <i>B</i> of <i>A-AND-NOT-B</i>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../AnotB.html#setA(org.apache.datasketches.tuple.Sketch)">setA</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../AnotB.html" title="type parameter in AnotB">S</a>&gt;&nbsp;skA)</code></th>
<td class="colLast">
<div class="block">This is part of a multistep, stateful AnotB operation and sets the given Tuple sketch as the
first argument <i>A</i> of <i>A-AND-NOT-B</i>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#similarityTest(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch,S,org.apache.datasketches.tuple.SummarySetOperations,double)">similarityTest</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;measured,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;expected,
S&nbsp;summary,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps,
double&nbsp;threshold)</code></th>
<td class="colLast">
<div class="block">Tests similarity of a measured Sketch against an expected Sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;S extends <a href="../Summary.html" title="interface in org.apache.datasketches.tuple">Summary</a>&gt;<br>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">JaccardSimilarity.</span><code><span class="memberNameLink"><a href="../JaccardSimilarity.html#similarityTest(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.SummarySetOperations,double)">similarityTest</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;measured,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;S&gt;&nbsp;expected,
<a href="../SummarySetOperations.html" title="interface in org.apache.datasketches.tuple">SummarySetOperations</a>&lt;S&gt;&nbsp;summarySetOps,
double&nbsp;threshold)</code></th>
<td class="colLast">
<div class="block">Tests similarity of a measured Sketch against an expected Sketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Union.</span><code><span class="memberNameLink"><a href="../Union.html#union(org.apache.datasketches.tuple.Sketch)">union</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Union.html" title="type parameter in Union">S</a>&gt;&nbsp;tupleSketch)</code></th>
<td class="colLast">
<div class="block">Performs a stateful union of the internal set with the given tupleSketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;<a href="../Union.html" title="type parameter in Union">S</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Union.</span><code><span class="memberNameLink"><a href="../Union.html#union(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.theta.Sketch,S)">union</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Union.html" title="type parameter in Union">S</a>&gt;&nbsp;tupleSketch,
<a href="../../theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;thetaSketch,
<a href="../Union.html" title="type parameter in Union">S</a>&nbsp;summary)</code></th>
<td class="colLast">
<div class="block">Perform a stateless, pair-wise union operation between a tupleSketch and a thetaSketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CompactSketch.html" title="class in org.apache.datasketches.tuple">CompactSketch</a>&lt;<a href="../Union.html" title="type parameter in Union">S</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Union.</span><code><span class="memberNameLink"><a href="../Union.html#union(org.apache.datasketches.tuple.Sketch,org.apache.datasketches.tuple.Sketch)">union</a></span>&#8203;(<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Union.html" title="type parameter in Union">S</a>&gt;&nbsp;tupleSketchA,
<a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a>&lt;<a href="../Union.html" title="type parameter in Union">S</a>&gt;&nbsp;tupleSketchB)</code></th>
<td class="colLast">
<div class="block">Perform a stateless, pair-wise union operation between two tuple sketches.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section><a id="org.apache.datasketches.tuple.adouble">
<!-- -->
</a>
<h3>Uses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../adouble/package-summary.html">org.apache.datasketches.tuple.adouble</a></h3>
<table class="useSummary">
<caption><span>Subclasses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../adouble/package-summary.html">org.apache.datasketches.tuple.adouble</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../adouble/DoubleSketch.html" title="class in org.apache.datasketches.tuple.adouble">DoubleSketch</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section><a id="org.apache.datasketches.tuple.aninteger">
<!-- -->
</a>
<h3>Uses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../aninteger/package-summary.html">org.apache.datasketches.tuple.aninteger</a></h3>
<table class="useSummary">
<caption><span>Subclasses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../aninteger/package-summary.html">org.apache.datasketches.tuple.aninteger</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../aninteger/IntegerSketch.html" title="class in org.apache.datasketches.tuple.aninteger">IntegerSketch</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section><a id="org.apache.datasketches.tuple.strings">
<!-- -->
</a>
<h3>Uses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../strings/package-summary.html">org.apache.datasketches.tuple.strings</a></h3>
<table class="useSummary">
<caption><span>Subclasses of <a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Sketch</a> in <a href="../strings/package-summary.html">org.apache.datasketches.tuple.strings</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../strings/ArrayOfStringsSketch.html" title="class in org.apache.datasketches.tuple.strings">ArrayOfStringsSketch</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../Sketch.html" title="class in org.apache.datasketches.tuple">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2015&#x2013;2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>