blob: 1f9327dc5877e6bb672f1f3cdbe9860ac4699324 [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.ArrayOfItemsSerDe (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.ArrayOfItemsSerDe (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/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">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/class-use/ArrayOfItemsSerDe.html" target="_top">Frames</a></li>
<li><a href="ArrayOfItemsSerDe.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.ArrayOfItemsSerDe" class="title">Uses of Class<br>org.apache.datasketches.ArrayOfItemsSerDe</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/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</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">org.apache.datasketches</a></td>
<td class="colLast">
<div class="block">This package is the parent package for all sketch algorithms.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.datasketches.frequencies">org.apache.datasketches.frequencies</a></td>
<td class="colLast">
<div class="block">This package is dedicated to streaming algorithms that enable estimation of the
frequency of occurence of items in a weighted multiset stream of items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.datasketches.quantiles">org.apache.datasketches.quantiles</a></td>
<td class="colLast">
<div class="block">The quantiles package contains stochastic streaming algorithms that enable single-pass
analysis of the distribution of a stream of real (double) values or generic items.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.datasketches.sampling">org.apache.datasketches.sampling</a></td>
<td class="colLast">
<div class="block">This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of
unweighted items from a stream.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.datasketches">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a> in <a href="../../../../org/apache/datasketches/package-summary.html">org.apache.datasketches</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a> in <a href="../../../../org/apache/datasketches/package-summary.html">org.apache.datasketches</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/ArrayOfBooleansSerDe.html" title="class in org.apache.datasketches">ArrayOfBooleansSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of Boolean as a bit array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/ArrayOfDoublesSerDe.html" title="class in org.apache.datasketches">ArrayOfDoublesSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of Double.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/ArrayOfLongsSerDe.html" title="class in org.apache.datasketches">ArrayOfLongsSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of Long.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/ArrayOfNumbersSerDe.html" title="class in org.apache.datasketches">ArrayOfNumbersSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of the object version of primitive types of
Number.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/ArrayOfStringsSerDe.html" title="class in org.apache.datasketches">ArrayOfStringsSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/ArrayOfUtf16StringsSerDe.html" title="class in org.apache.datasketches">ArrayOfUtf16StringsSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of String.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.datasketches.frequencies">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a> in <a href="../../../../org/apache/datasketches/frequencies/package-summary.html">org.apache.datasketches.frequencies</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/frequencies/package-summary.html">org.apache.datasketches.frequencies</a> with parameters of type <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</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 &lt;T&gt;&nbsp;<a href="../../../../org/apache/datasketches/frequencies/ItemsSketch.html" title="class in org.apache.datasketches.frequencies">ItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/frequencies/ItemsSketch.html#getInstance-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">getInstance</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Returns a sketch instance of this class from the given srcMem,
which must be a Memory representation of this sketch class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/frequencies/ItemsSketch.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/frequencies/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this sketch</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.datasketches.quantiles">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a> in <a href="../../../../org/apache/datasketches/quantiles/package-summary.html">org.apache.datasketches.quantiles</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/quantiles/package-summary.html">org.apache.datasketches.quantiles</a> with parameters of type <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</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 &lt;T&gt;&nbsp;<a href="../../../../org/apache/datasketches/quantiles/ItemsUnion.html" title="class in org.apache.datasketches.quantiles">ItemsUnion</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/quantiles/ItemsUnion.html#getInstance-org.apache.datasketches.memory.Memory-java.util.Comparator-org.apache.datasketches.ArrayOfItemsSerDe-">getInstance</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;? super T&gt;&nbsp;comparator,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Heapify the given srcMem into a Union object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html" title="class in org.apache.datasketches.quantiles">ItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html#getInstance-org.apache.datasketches.memory.Memory-java.util.Comparator-org.apache.datasketches.ArrayOfItemsSerDe-">getInstance</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;? super T&gt;&nbsp;comparator,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Heapifies the given srcMem, which must be a Memory image of a ItemsSketch</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html#putMemory-org.apache.datasketches.memory.WritableMemory-org.apache.datasketches.ArrayOfItemsSerDe-">putMemory</a></span>(org.apache.datasketches.memory.WritableMemory&nbsp;dstMem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Puts the current sketch into the given Memory if there is sufficient space.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/quantiles/ItemsUnion.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/quantiles/ItemsUnion.html" title="type parameter in ItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Serialize this union to a byte array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Serialize this sketch to a byte array form.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html#toByteArray-boolean-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(boolean&nbsp;ordered,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/quantiles/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Serialize this sketch to a byte array form.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/quantiles/ItemsUnion.html#update-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">update</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/quantiles/ItemsUnion.html" title="type parameter in ItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Iterative union operation, which means this method can be repeatedly called.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.datasketches.sampling">
<!-- -->
</a>
<h3>Uses of <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a> in <a href="../../../../org/apache/datasketches/sampling/package-summary.html">org.apache.datasketches.sampling</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/sampling/package-summary.html">org.apache.datasketches.sampling</a> with parameters of type <a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</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 &lt;T&gt;&nbsp;<a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html" title="class in org.apache.datasketches.sampling">VarOptItemsUnion</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html#heapify-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">heapify</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Instantiates a Union from Memory</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/datasketches/sampling/ReservoirItemsSketch.html" title="class in org.apache.datasketches.sampling">ReservoirItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/ReservoirItemsSketch.html#heapify-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">heapify</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Returns a sketch instance of this class from the given srcMem,
which must be a Memory representation of this sketch class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html" title="class in org.apache.datasketches.sampling">ReservoirItemsUnion</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html#heapify-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">heapify</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Instantiates a Union from Memory</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/datasketches/sampling/VarOptItemsSketch.html" title="class in org.apache.datasketches.sampling">VarOptItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/VarOptItemsSketch.html#heapify-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">heapify</a></span>(org.apache.datasketches.memory.Memory&nbsp;srcMem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Returns a sketch instance of this class from the given srcMem,
which must be a Memory representation of this sketch class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/ReservoirItemsSketch.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../org/apache/datasketches/sampling/ReservoirItemsSketch.html" title="type parameter in ReservoirItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/VarOptItemsSketch.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../org/apache/datasketches/sampling/VarOptItemsSketch.html" title="type parameter in VarOptItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/ReservoirItemsSketch.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../org/apache/datasketches/sampling/ReservoirItemsSketch.html" title="type parameter in ReservoirItemsSketch">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/VarOptItemsSketch.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../org/apache/datasketches/sampling/VarOptItemsSketch.html" title="type parameter in VarOptItemsSketch">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html" title="type parameter in VarOptItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this union</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html" title="type parameter in ReservoirItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this union</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html" title="type parameter in VarOptItemsUnion">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this union.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html#toByteArray-org.apache.datasketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html" title="type parameter in ReservoirItemsUnion">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this union.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html#update-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">update</a></span>(org.apache.datasketches.memory.Memory&nbsp;mem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/sampling/VarOptItemsUnion.html" title="type parameter in VarOptItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Union the given Memory image of the sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html#update-org.apache.datasketches.memory.Memory-org.apache.datasketches.ArrayOfItemsSerDe-">update</a></span>(org.apache.datasketches.memory.Memory&nbsp;mem,
<a href="../../../../org/apache/datasketches/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../org/apache/datasketches/sampling/ReservoirItemsUnion.html" title="type parameter in ReservoirItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Union the given Memory image of the sketch.</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/ArrayOfItemsSerDe.html" title="class in org.apache.datasketches">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/class-use/ArrayOfItemsSerDe.html" target="_top">Frames</a></li>
<li><a href="ArrayOfItemsSerDe.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>