| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Family (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="Family (datasketches-java 4.0.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9,"i7":10,"i8":9,"i9":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| 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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Family.html">Use</a></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 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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#enum.constant.summary">Enum Constants</a> | </li> |
| <li>Field | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#enum.constant.detail">Enum Constants</a> | </li> |
| <li>Field | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.datasketches.common</a></div> |
| <h2 title="Enum Family" class="title">Enum Family</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Enum</a><<a href="Family.html" title="enum in org.apache.datasketches.common">Family</a>></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.datasketches.common.Family</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><<a href="Family.html" title="enum in org.apache.datasketches.common">Family</a>></code></dd> |
| </dl> |
| <hr> |
| <pre>public enum <span class="typeNameLabel">Family</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a><<a href="Family.html" title="enum in org.apache.datasketches.common">Family</a>></pre> |
| <div class="block">Defines the various families of sketch and set operation classes. A family defines a set of |
| classes that share fundamental algorithms and behaviors. The classes within a family may |
| still differ by how they are stored and accessed. For example, internally there are separate |
| classes for the QuickSelect sketch algorithm that operate on the Java heap and off-heap. |
| Not all of these families have parallel forms on and off-heap but are included for completeness.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>Lee Rhodes</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== ENUM CONSTANT SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="enum.constant.summary"> |
| <!-- --> |
| </a> |
| <h3>Enum Constant Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Enum Constant</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#A_NOT_B">A_NOT_B</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The A and not B family is an operation for the Theta Sketch Framework of sketches.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#ALPHA">ALPHA</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Alpha Sketch family is a member of the Theta Sketch Framework of sketches and is best |
| suited for real-time processes where both the updating of the sketch and getting the estimate |
| is performed directly on the sketch.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#COMPACT">COMPACT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Compact Sketch family is a member of the Theta Sketch Framework of sketches.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#COUNTMIN">COUNTMIN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">CountMin Sketch</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CPC">CPC</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Compressed Probabilistic Counting (CPC) Sketch</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#FREQUENCY">FREQUENCY</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Frequency family of sketches.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#HLL">HLL</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The HLL family of sketches.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTERSECTION">INTERSECTION</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Intersection family is an operation for the Theta Sketch Framework of sketches.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#KLL">KLL</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">KLL quantiles sketch</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#QUANTILES">QUANTILES</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Quantiles family of sketches.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#QUICKSELECT">QUICKSELECT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The QuickSelect Sketch family is a member of the Theta Sketch Framework of sketches and |
| is the workhorse of the Theta Sketch Families and can be constructed for either on-heap or |
| off-heap operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#REQ">REQ</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Relative Error Quantiles Sketch</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#RESERVOIR">RESERVOIR</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Reservoir family of sketches.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#RESERVOIR_UNION">RESERVOIR_UNION</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The reservoir sampling family of Union operations.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#TUPLE">TUPLE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Tuple family of sketches is a large family of sketches that are extensions of the |
| Theta Sketch Framework.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#UNION">UNION</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The Union family is an operation for the Theta Sketch Framework of sketches.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#VAROPT">VAROPT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The VarOpt family of sketches.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#VAROPT_UNION">VAROPT_UNION</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The VarOpt family of sketches.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></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> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkFamilyID(int)">checkFamilyID</a></span>​(int id)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFamilyName()">getFamilyName</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the name for this family</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getID()">getID</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the byte ID for this family</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxPreLongs()">getMaxPreLongs</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum preamble size for this family in longs</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinPreLongs()">getMinPreLongs</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the minimum preamble size for this family in longs</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#idToFamily(int)">idToFamily</a></span>​(int id)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the Family given the ID</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stringToFamily(java.lang.String)">stringToFamily</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" class="externalLink">String</a> famName)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the Family given the family name</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#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" class="externalLink">String</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a>[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Enum"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang" class="externalLink">compareTo</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang" class="externalLink">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang" class="externalLink">name</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang" class="externalLink">ordinal</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class,java.lang.String)" title="class or interface in java.lang" class="externalLink">valueOf</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ ENUM CONSTANT DETAIL =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="enum.constant.detail"> |
| <!-- --> |
| </a> |
| <h3>Enum Constant Detail</h3> |
| <a id="ALPHA"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ALPHA</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> ALPHA</pre> |
| <div class="block">The Alpha Sketch family is a member of the Theta Sketch Framework of sketches and is best |
| suited for real-time processes where both the updating of the sketch and getting the estimate |
| is performed directly on the sketch. In this situation the AlphaSketch has roughly a |
| 30% improvement (~1/sqrt(2*k)) in its error distribution as compared to the QuickSelect |
| (or similar KMV-derived) sketches. |
| |
| <p>If the AlphaSketch is fed into any SetOperation, the error distribution reverts back to the |
| normal QuickSelect/KMV error distribution (~1/sqrt(k)). For this reason, the AlphaSketch |
| does not have a sister class for off-heap operation. The Alpha Sketch has a roughly 30% faster |
| overall update time as compared to the QuickSelect sketch family.</p> |
| |
| <p>The Alpha Sketch is created using the UpdateSketch.builder(). |
| <a href="../../../../resources/dictionary.html#alphaTCF">See Alpha TCF</a> and |
| <a href="../../../../resources/dictionary.html#thetaSketch">Theta Sketch Framework</a></div> |
| </li> |
| </ul> |
| <a id="QUICKSELECT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>QUICKSELECT</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> QUICKSELECT</pre> |
| <div class="block">The QuickSelect Sketch family is a member of the Theta Sketch Framework of sketches and |
| is the workhorse of the Theta Sketch Families and can be constructed for either on-heap or |
| off-heap operation. |
| The QuickSelect Sketch is created using the UpdateSketch.builder(). |
| <a href="../../../../resources/dictionary.html#quickSelectTCF">See Quick Select TCF</a></div> |
| </li> |
| </ul> |
| <a id="COMPACT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>COMPACT</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> COMPACT</pre> |
| <div class="block">The Compact Sketch family is a member of the Theta Sketch Framework of sketches. |
| The are read-only and cannot be updated, but can participate in any of the Set Operations. |
| The compact sketches are never created directly with a constructor or Builder. |
| Instead they are created as a result of the compact() |
| method of an UpdateSketch or as a result of a getSketchSamples() of a SetOperation.</div> |
| </li> |
| </ul> |
| <a id="UNION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>UNION</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> UNION</pre> |
| <div class="block">The Union family is an operation for the Theta Sketch Framework of sketches. |
| The Union is constructed using the SetOperation.builder().</div> |
| </li> |
| </ul> |
| <a id="INTERSECTION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INTERSECTION</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> INTERSECTION</pre> |
| <div class="block">The Intersection family is an operation for the Theta Sketch Framework of sketches. |
| The Intersection is constructed using the SetOperation.builder().</div> |
| </li> |
| </ul> |
| <a id="A_NOT_B"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>A_NOT_B</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> A_NOT_B</pre> |
| <div class="block">The A and not B family is an operation for the Theta Sketch Framework of sketches. |
| The AnotB operation is constructed using the SetOperation.builder().</div> |
| </li> |
| </ul> |
| <a id="HLL"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HLL</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> HLL</pre> |
| <div class="block">The HLL family of sketches. (Not part of TSF.)</div> |
| </li> |
| </ul> |
| <a id="QUANTILES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>QUANTILES</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> QUANTILES</pre> |
| <div class="block">The Quantiles family of sketches. (Not part of TSF.)</div> |
| </li> |
| </ul> |
| <a id="TUPLE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TUPLE</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> TUPLE</pre> |
| <div class="block">The Tuple family of sketches is a large family of sketches that are extensions of the |
| Theta Sketch Framework.</div> |
| </li> |
| </ul> |
| <a id="FREQUENCY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>FREQUENCY</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> FREQUENCY</pre> |
| <div class="block">The Frequency family of sketches. (Not part of TSF.)</div> |
| </li> |
| </ul> |
| <a id="RESERVOIR"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RESERVOIR</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> RESERVOIR</pre> |
| <div class="block">The Reservoir family of sketches. (Not part of TSF.)</div> |
| </li> |
| </ul> |
| <a id="RESERVOIR_UNION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>RESERVOIR_UNION</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> RESERVOIR_UNION</pre> |
| <div class="block">The reservoir sampling family of Union operations. (Not part of TSF.)</div> |
| </li> |
| </ul> |
| <a id="VAROPT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>VAROPT</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> VAROPT</pre> |
| <div class="block">The VarOpt family of sketches. (Not part of TSF.)</div> |
| </li> |
| </ul> |
| <a id="VAROPT_UNION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>VAROPT_UNION</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> VAROPT_UNION</pre> |
| <div class="block">The VarOpt family of sketches. (Not part of TSF.)</div> |
| </li> |
| </ul> |
| <a id="KLL"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>KLL</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> KLL</pre> |
| <div class="block">KLL quantiles sketch</div> |
| </li> |
| </ul> |
| <a id="CPC"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CPC</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> CPC</pre> |
| <div class="block">Compressed Probabilistic Counting (CPC) Sketch</div> |
| </li> |
| </ul> |
| <a id="REQ"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>REQ</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> REQ</pre> |
| <div class="block">Relative Error Quantiles Sketch</div> |
| </li> |
| </ul> |
| <a id="COUNTMIN"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>COUNTMIN</h4> |
| <pre>public static final <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> COUNTMIN</pre> |
| <div class="block">CountMin Sketch</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="values()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>values</h4> |
| <pre class="methodSignature">public static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a>[] values()</pre> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared. This method may be used to iterate |
| over the constants as follows: |
| <pre> |
| for (Family c : Family.values()) |
| System.out.println(c); |
| </pre></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an array containing the constants of this enum type, in the order they are declared</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="valueOf(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>valueOf</h4> |
| <pre class="methodSignature">public static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> valueOf​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name)</pre> |
| <div class="block">Returns the enum constant of this type with the specified name. |
| The string must match <i>exactly</i> an identifier used to declare an |
| enum constant in this type. (Extraneous whitespace characters are |
| not permitted.)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the enum constant to be returned.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the enum constant with the specified name</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang" class="externalLink">NullPointerException</a></code> - if the argument is null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getID()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getID</h4> |
| <pre class="methodSignature">public int getID()</pre> |
| <div class="block">Returns the byte ID for this family</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the byte ID for this family</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="checkFamilyID(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkFamilyID</h4> |
| <pre class="methodSignature">public void checkFamilyID​(int id)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>id</code> - the given id, a value < 128.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getFamilyName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyName</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getFamilyName()</pre> |
| <div class="block">Returns the name for this family</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the name for this family</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getMinPreLongs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMinPreLongs</h4> |
| <pre class="methodSignature">public int getMinPreLongs()</pre> |
| <div class="block">Returns the minimum preamble size for this family in longs</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the minimum preamble size for this family in longs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getMaxPreLongs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxPreLongs</h4> |
| <pre class="methodSignature">public int getMaxPreLongs()</pre> |
| <div class="block">Returns the maximum preamble size for this family in longs</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum preamble size for this family in longs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink">Enum</a><<a href="Family.html" title="enum in org.apache.datasketches.common">Family</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="idToFamily(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>idToFamily</h4> |
| <pre class="methodSignature">public static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> idToFamily​(int id)</pre> |
| <div class="block">Returns the Family given the ID</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>id</code> - the given ID</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the Family given the ID</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="stringToFamily(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>stringToFamily</h4> |
| <pre class="methodSignature">public static <a href="Family.html" title="enum in org.apache.datasketches.common">Family</a> stringToFamily​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> famName)</pre> |
| <div class="block">Returns the Family given the family name</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>famName</code> - the family name</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the Family given the family name</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Family.html">Use</a></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 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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#enum.constant.summary">Enum Constants</a> | </li> |
| <li>Field | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#enum.constant.detail">Enum Constants</a> | </li> |
| <li>Field | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2015–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |