blob: 43d4d3f6b5628964f4918aa41982618821c9fb05 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_302) on Wed Jan 26 15:15:51 PST 2022 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.datasketches.theta.CompactSketch (datasketches-java 3.1.0 API)</title>
<meta name="date" content="2022-01-26">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.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.theta.CompactSketch (datasketches-java 3.1.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">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">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/datasketches/theta/class-use/CompactSketch.html" target="_top">Frames</a></li>
<li><a href="CompactSketch.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.datasketches.theta.CompactSketch" class="title">Uses of Class<br>org.apache.datasketches.theta.CompactSketch</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</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">
<td class="colFirst"><a href="#org.apache.datasketches.theta">org.apache.datasketches.theta</a></td>
<td class="colLast">
<div class="block">The theta package contains all the sketch classes that are members of the
<a href="../../../../../resources/dictionary.html#thetaSketch">Theta Sketch Framework</a>.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.datasketches.theta">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a> in <a href="../../../../../org/apache/datasketches/theta/package-summary.html">org.apache.datasketches.theta</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/datasketches/theta/package-summary.html">org.apache.datasketches.theta</a> that return <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/AnotB.html#aNotB-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-">aNotB</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skB)</code>
<div class="block">Perform A-and-not-B set operation on the two given sketches and return the result as an
ordered CompactSketch on the heap.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">PairwiseSetOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/PairwiseSetOperations.html#aNotB-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-">aNotB</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skB)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">v2.0.0. Use <a href="../../../../../org/apache/datasketches/theta/AnotB.html#aNotB-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-"><code>AnotB.aNotB(Sketch, Sketch)</code></a> instead, which has more
complete seed handling.</span></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/AnotB.html#aNotB-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-boolean-org.apache.datasketches.memory.WritableMemory-">aNotB</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skB,
boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>
<div class="block">Perform A-and-not-B set operation on the two given sketches and return the result as a
CompactSketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Sketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Sketch.html#compact--">compact</a></span>()</code>
<div class="block">Converts this sketch to a ordered CompactSketch on the Java heap.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">UpdateSketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/UpdateSketch.html#compact-boolean-org.apache.datasketches.memory.WritableMemory-">compact</a></span>(boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Sketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Sketch.html#compact-boolean-org.apache.datasketches.memory.WritableMemory-">compact</a></span>(boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>
<div class="block">Convert this sketch to a new CompactSketch of the chosen order and direct or on the heap.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">CompactSketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#compact-boolean-org.apache.datasketches.memory.WritableMemory-">compact</a></span>(boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Intersection.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Intersection.html#getResult--">getResult</a></span>()</code>
<div class="block">Gets the result of this operation as an ordered CompactSketch on the Java heap.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Union.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Union.html#getResult--">getResult</a></span>()</code>
<div class="block">Gets the result of this operation as an ordered CompactSketch on the Java heap.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/AnotB.html#getResult-boolean-">getResult</a></span>(boolean&nbsp;reset)</code>
<div class="block">Gets the result of the multistep, stateful operation AnotB that have been executed with calls
to <a href="../../../../../org/apache/datasketches/theta/AnotB.html#setA-org.apache.datasketches.theta.Sketch-"><code>AnotB.setA(Sketch)</code></a> and (<a href="../../../../../org/apache/datasketches/theta/AnotB.html#notB-org.apache.datasketches.theta.Sketch-"><code>AnotB.notB(Sketch)</code></a> or
<a href="../../../../../org/apache/datasketches/theta/AnotB.html#notB-org.apache.datasketches.theta.Sketch-"><code>AnotB.notB(org.apache.datasketches.theta.Sketch)</code></a>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Intersection.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Intersection.html#getResult-boolean-org.apache.datasketches.memory.WritableMemory-">getResult</a></span>(boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>
<div class="block">Gets the result of this operation as a CompactSketch in the given dstMem.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Union.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Union.html#getResult-boolean-org.apache.datasketches.memory.WritableMemory-">getResult</a></span>(boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>
<div class="block">Gets the result of this operation as a CompactSketch of the chosen form.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">AnotB.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/AnotB.html#getResult-boolean-org.apache.datasketches.memory.WritableMemory-boolean-">getResult</a></span>(boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem,
boolean&nbsp;reset)</code>
<div class="block">Gets the result of the multistep, stateful operation AnotB that have been executed with calls
to <a href="../../../../../org/apache/datasketches/theta/AnotB.html#setA-org.apache.datasketches.theta.Sketch-"><code>AnotB.setA(Sketch)</code></a> and (<a href="../../../../../org/apache/datasketches/theta/AnotB.html#notB-org.apache.datasketches.theta.Sketch-"><code>AnotB.notB(Sketch)</code></a> or
<a href="../../../../../org/apache/datasketches/theta/AnotB.html#notB-org.apache.datasketches.theta.Sketch-"><code>AnotB.notB(org.apache.datasketches.theta.Sketch)</code></a>).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">CompactSketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#heapify-org.apache.datasketches.memory.Memory-">heapify</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem)</code>
<div class="block">Heapify takes a CompactSketch image in Memory and instantiates an on-heap CompactSketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">CompactSketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#heapify-org.apache.datasketches.memory.Memory-long-">heapify</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
long&nbsp;expectedSeed)</code>
<div class="block">Heapify takes a CompactSketch image in Memory and instantiates an on-heap CompactSketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Sketches.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Sketches.html#heapifyCompactSketch-org.apache.datasketches.memory.Memory-">heapifyCompactSketch</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem)</code>
<div class="block">Ref: <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#heapify-org.apache.datasketches.memory.Memory-"><code>CompactSketch.heapify(Memory)</code></a></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Sketches.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Sketches.html#heapifyCompactSketch-org.apache.datasketches.memory.Memory-long-">heapifyCompactSketch</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
long&nbsp;expectedSeed)</code>
<div class="block">Ref: <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#heapify-org.apache.datasketches.memory.Memory-long-"><code>CompactSketch.heapify(Memory, long)</code></a></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Intersection.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Intersection.html#intersect-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-">intersect</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;a,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;b)</code>
<div class="block">Perform intersect set operation on the two given sketch arguments and return the result as an
ordered CompactSketch on the heap.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">PairwiseSetOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/PairwiseSetOperations.html#intersect-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-">intersect</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;skB)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">v2.0.0. Use <a href="../../../../../org/apache/datasketches/theta/Intersection.html#intersect-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-"><code>Intersection.intersect(Sketch, Sketch)</code></a> instead, which has more
complete seed handling.</span></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Intersection.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Intersection.html#intersect-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-boolean-org.apache.datasketches.memory.WritableMemory-">intersect</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;a,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;b,
boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>
<div class="block">Perform intersect set operation on the two given sketches and return the result as a
CompactSketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">PairwiseSetOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/PairwiseSetOperations.html#union-org.apache.datasketches.theta.CompactSketch-org.apache.datasketches.theta.CompactSketch-">union</a></span>(<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skB)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">v2.0.0. Please use <a href="../../../../../org/apache/datasketches/theta/Union.html#union-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-"><code>Union.union(Sketch, Sketch)</code></a> instead, which has more
complete seed handling.</span></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">PairwiseSetOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/PairwiseSetOperations.html#union-org.apache.datasketches.theta.CompactSketch-org.apache.datasketches.theta.CompactSketch-int-">union</a></span>(<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skB,
int&nbsp;k)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">v2.0.0. Please use <a href="../../../../../org/apache/datasketches/theta/Union.html#union-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-"><code>Union.union(Sketch, Sketch)</code></a> instead, which has more
complete seed handling.</span></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Union.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Union.html#union-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-">union</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchA,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchB)</code>
<div class="block">This implements a stateless, pair-wise union operation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Union.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Union.html#union-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-boolean-org.apache.datasketches.memory.WritableMemory-">union</a></span>(<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchA,
<a href="../../../../../org/apache/datasketches/theta/Sketch.html" title="class in org.apache.datasketches.theta">Sketch</a>&nbsp;sketchB,
boolean&nbsp;dstOrdered,
org.apache.datasketches.memory.WritableMemory&nbsp;dstMem)</code>
<div class="block">This implements a stateless, pair-wise union operation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">CompactSketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#wrap-org.apache.datasketches.memory.Memory-">wrap</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem)</code>
<div class="block">Wrap takes the CompactSketch image in given Memory and refers to it directly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">CompactSketch.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#wrap-org.apache.datasketches.memory.Memory-long-">wrap</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
long&nbsp;expectedSeed)</code>
<div class="block">Wrap takes the sketch image in the given Memory and refers to it directly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Sketches.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Sketches.html#wrapCompactSketch-org.apache.datasketches.memory.Memory-">wrapCompactSketch</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem)</code>
<div class="block">Ref: <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#wrap-org.apache.datasketches.memory.Memory-"><code>CompactSketch.wrap(Memory)</code></a></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">Sketches.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/Sketches.html#wrapCompactSketch-org.apache.datasketches.memory.Memory-long-">wrapCompactSketch</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
long&nbsp;expectedSeed)</code>
<div class="block">Ref: <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html#wrap-org.apache.datasketches.memory.Memory-long-"><code>CompactSketch.wrap(Memory, long)</code></a></div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/datasketches/theta/package-summary.html">org.apache.datasketches.theta</a> with parameters of type <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">PairwiseSetOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/PairwiseSetOperations.html#union-org.apache.datasketches.theta.CompactSketch-org.apache.datasketches.theta.CompactSketch-">union</a></span>(<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skB)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">v2.0.0. Please use <a href="../../../../../org/apache/datasketches/theta/Union.html#union-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-"><code>Union.union(Sketch, Sketch)</code></a> instead, which has more
complete seed handling.</span></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">PairwiseSetOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/datasketches/theta/PairwiseSetOperations.html#union-org.apache.datasketches.theta.CompactSketch-org.apache.datasketches.theta.CompactSketch-int-">union</a></span>(<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skA,
<a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">CompactSketch</a>&nbsp;skB,
int&nbsp;k)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">v2.0.0. Please use <a href="../../../../../org/apache/datasketches/theta/Union.html#union-org.apache.datasketches.theta.Sketch-org.apache.datasketches.theta.Sketch-"><code>Union.union(Sketch, Sketch)</code></a> instead, which has more
complete seed handling.</span></div>
</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/datasketches/theta/CompactSketch.html" title="class in org.apache.datasketches.theta">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">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/datasketches/theta/class-use/CompactSketch.html" target="_top">Frames</a></li>
<li><a href="CompactSketch.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2015&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>