blob: bda0370f9702002324129533e5ae6fa5f4cf8d5c [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_162) on Thu Mar 14 13:13:09 PDT 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.yahoo.sketches.ResizeFactor (com.yahoo.datasketches:sketches-core 0.13.1-SNAPSHOT API)</title>
<meta name="date" content="2019-03-14">
<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 com.yahoo.sketches.ResizeFactor (com.yahoo.datasketches:sketches-core 0.13.1-SNAPSHOT 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="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">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?com/yahoo/sketches/class-use/ResizeFactor.html" target="_top">Frames</a></li>
<li><a href="ResizeFactor.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 com.yahoo.sketches.ResizeFactor" class="title">Uses of Class<br>com.yahoo.sketches.ResizeFactor</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="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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="#com.yahoo.sketches">com.yahoo.sketches</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="#com.yahoo.sketches.sampling">com.yahoo.sketches.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>
<tr class="altColor">
<td class="colFirst"><a href="#com.yahoo.sketches.theta">com.yahoo.sketches.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>
<tr class="rowColor">
<td class="colFirst"><a href="#com.yahoo.sketches.tuple">com.yahoo.sketches.tuple</a></td>
<td class="colLast">
<div class="block">The tuple package contains implementation of sketches based on the idea of
theta sketches with the addition of values associated with unique keys.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.yahoo.sketches">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a> in <a href="../../../../com/yahoo/sketches/package-summary.html">com.yahoo.sketches</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="../../../../com/yahoo/sketches/package-summary.html">com.yahoo.sketches</a> that return <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a></code></td>
<td class="colLast"><span class="typeNameLabel">ResizeFactor.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ResizeFactor.html#getRF-int-">getRF</a></span>(int&nbsp;lg)</code>
<div class="block">Returns the Resize Factor given the Log-base 2 of the Resize Factor</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a></code></td>
<td class="colLast"><span class="typeNameLabel">ResizeFactor.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ResizeFactor.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">ResizeFactor.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ResizeFactor.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</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="../../../../com/yahoo/sketches/package-summary.html">com.yahoo.sketches</a> with parameters of type <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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 int</code></td>
<td class="colLast"><span class="typeNameLabel">Util.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/Util.html#startingSubMultiple-int-com.yahoo.sketches.ResizeFactor-int-">startingSubMultiple</a></span>(int&nbsp;lgTarget,
<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;rf,
int&nbsp;lgMin)</code>
<div class="block">Gets the smallest allowed exponent of 2 that it is a sub-multiple of the target by zero,
one or more resize factors.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.yahoo.sketches.sampling">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a> in <a href="../../../../com/yahoo/sketches/sampling/package-summary.html">com.yahoo.sketches.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="../../../../com/yahoo/sketches/sampling/package-summary.html">com.yahoo.sketches.sampling</a> with parameters of type <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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="../../../../com/yahoo/sketches/sampling/ReservoirLongsSketch.html" title="class in com.yahoo.sketches.sampling">ReservoirLongsSketch</a></code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirLongsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirLongsSketch.html#newInstance-int-com.yahoo.sketches.ResizeFactor-">newInstance</a></span>(int&nbsp;k,
<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;rf)</code>
<div class="block">Construct a mergeable reservoir sampling sketch with up to k samples using the default resize
factor (8).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html" title="class in com.yahoo.sketches.sampling">ReservoirItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html#newInstance-int-com.yahoo.sketches.ResizeFactor-">newInstance</a></span>(int&nbsp;k,
<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;rf)</code>
<div class="block">Construct a mergeable sampling sketch with up to k samples using a specified resize factor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html" title="class in com.yahoo.sketches.sampling">VarOptItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html#newInstance-int-com.yahoo.sketches.ResizeFactor-">newInstance</a></span>(int&nbsp;k,
<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;rf)</code>
<div class="block">Construct a varopt sampling sketch with up to k samples using the specified resize factor.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.yahoo.sketches.theta">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a> in <a href="../../../../com/yahoo/sketches/theta/package-summary.html">com.yahoo.sketches.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="../../../../com/yahoo/sketches/theta/package-summary.html">com.yahoo.sketches.theta</a> that return <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a></code></td>
<td class="colLast"><span class="typeNameLabel">SetOperationBuilder.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/theta/SetOperationBuilder.html#getResizeFactor--">getResizeFactor</a></span>()</code>
<div class="block">Returns the Resize Factor</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a></code></td>
<td class="colLast"><span class="typeNameLabel">UpdateSketchBuilder.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/theta/UpdateSketchBuilder.html#getResizeFactor--">getResizeFactor</a></span>()</code>
<div class="block">Returns the Resize Factor</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a></code></td>
<td class="colLast"><span class="typeNameLabel">UpdateSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/theta/UpdateSketch.html#getResizeFactor--">getResizeFactor</a></span>()</code>
<div class="block">Returns the configured ResizeFactor</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="../../../../com/yahoo/sketches/theta/package-summary.html">com.yahoo.sketches.theta</a> with parameters of type <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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="../../../../com/yahoo/sketches/theta/SetOperationBuilder.html" title="class in com.yahoo.sketches.theta">SetOperationBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">SetOperationBuilder.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/theta/SetOperationBuilder.html#setResizeFactor-com.yahoo.sketches.ResizeFactor-">setResizeFactor</a></span>(<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;rf)</code>
<div class="block">Sets the cache Resize Factor</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/yahoo/sketches/theta/UpdateSketchBuilder.html" title="class in com.yahoo.sketches.theta">UpdateSketchBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">UpdateSketchBuilder.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/theta/UpdateSketchBuilder.html#setResizeFactor-com.yahoo.sketches.ResizeFactor-">setResizeFactor</a></span>(<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;rf)</code>
<div class="block">Sets the cache Resize Factor.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.yahoo.sketches.tuple">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a> in <a href="../../../../com/yahoo/sketches/tuple/package-summary.html">com.yahoo.sketches.tuple</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="../../../../com/yahoo/sketches/tuple/package-summary.html">com.yahoo.sketches.tuple</a> that return <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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>abstract <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a></code></td>
<td class="colLast"><span class="typeNameLabel">ArrayOfDoublesUpdatableSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketch.html#getResizeFactor--">getResizeFactor</a></span>()</code>
<div class="block">Gets the configured resize factor</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="../../../../com/yahoo/sketches/tuple/package-summary.html">com.yahoo.sketches.tuple</a> with parameters of type <a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</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="../../../../com/yahoo/sketches/tuple/UpdatableSketchBuilder.html" title="class in com.yahoo.sketches.tuple">UpdatableSketchBuilder</a>&lt;<a href="../../../../com/yahoo/sketches/tuple/UpdatableSketchBuilder.html" title="type parameter in UpdatableSketchBuilder">U</a>,<a href="../../../../com/yahoo/sketches/tuple/UpdatableSketchBuilder.html" title="type parameter in UpdatableSketchBuilder">S</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">UpdatableSketchBuilder.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/tuple/UpdatableSketchBuilder.html#setResizeFactor-com.yahoo.sketches.ResizeFactor-">setResizeFactor</a></span>(<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;resizeFactor)</code>
<div class="block">This is to set the resize factor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.html" title="class in com.yahoo.sketches.tuple">ArrayOfDoublesUpdatableSketchBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ArrayOfDoublesUpdatableSketchBuilder.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/tuple/ArrayOfDoublesUpdatableSketchBuilder.html#setResizeFactor-com.yahoo.sketches.ResizeFactor-">setResizeFactor</a></span>(<a href="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">ResizeFactor</a>&nbsp;resizeFactor)</code>
<div class="block">This is to set the resize factor.</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="../../../../com/yahoo/sketches/ResizeFactor.html" title="enum in com.yahoo.sketches">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?com/yahoo/sketches/class-use/ResizeFactor.html" target="_top">Frames</a></li>
<li><a href="ResizeFactor.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;2019. All rights reserved.</small></p>
</body>
</html>