| <!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 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>AggregationClient (Apache HBase 3.0.0-SNAPSHOT API)</title> |
| <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="AggregationClient (Apache HBase 3.0.0-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AggregationClient.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"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.AggregationClientRpcController.html" title="class in org.apache.hadoop.hbase.client.coprocessor"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html" target="_top">Frames</a></li> |
| <li><a href="AggregationClient.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All 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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.hadoop.hbase.client.coprocessor</div> |
| <h2 title="Class AggregationClient" class="title">Class AggregationClient</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">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.hadoop.hbase.client.coprocessor.AggregationClient</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>@InterfaceAudience.Public |
| public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.82">AggregationClient</a> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> |
| <div class="block">This client class is for invoking the aggregate functions deployed on the |
| Region Server side via the AggregateService. This class will implement the |
| supporting functionality for summing/processing the individual results |
| obtained from the AggregateService for each region. |
| <p> |
| This will serve as the client side handler for invoking the aggregate |
| functions. |
| For all aggregate functions, |
| <ul> |
| <li>start row < end row is an essential condition (if they are not |
| <a href="../../../../../../org/apache/hadoop/hbase/HConstants.html#EMPTY_BYTE_ARRAY"><code>HConstants.EMPTY_BYTE_ARRAY</code></a>) |
| <li>Column family can't be null. In case where multiple families are |
| provided, an IOException will be thrown. An optional column qualifier can |
| also be defined.</li> |
| <li>For methods to find maximum, minimum, sum, rowcount, it returns the |
| parameter type. For average and std, it returns a double value. For row |
| count, it returns a long value.</li> |
| </ul> |
| <p>Call <a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#close--"><code>close()</code></a> when done.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.AggregationClientRpcController.html" title="class in org.apache.hadoop.hbase.client.coprocessor">AggregationClient.AggregationClientRpcController</a></span></code> |
| <div class="block">An RpcController implementation for use here in this endpoint.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#connection">connection</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static org.slf4j.Logger</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#log">log</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#AggregationClient-org.apache.hadoop.conf.Configuration-">AggregationClient</a></span>(org.apache.hadoop.conf.Configuration cfg)</code> |
| <div class="block">Constructor with Conf object</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</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="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#avg-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">avg</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">This is the client side interface/handle for calling the average method for |
| a given cf-cq combination.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#avg-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">avg</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">This is the client side interface/handle for calling the average method for |
| a given cf-cq combination.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#close--">close</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br><a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><S,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#getAvgArgs-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">getAvgArgs</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It computes average while fetching sum and row count from all the |
| corresponding regions.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br><a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><S,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#getAvgArgs-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">getAvgArgs</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It computes average while fetching sum and row count from all the |
| corresponding regions.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>(package private) byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#getBytesFromResponse-com.google.protobuf.ByteString-">getBytesFromResponse</a></span>(com.google.protobuf.ByteString response)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br><a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><S>>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><S>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#getMedianArgs-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">getMedianArgs</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It helps locate the region with median for a given column whose weight |
| is specified in an optional column.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br><a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><S>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#getStdArgs-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">getStdArgs</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It computes a global standard deviation for a given column and its value.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#max-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">max</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It gives the maximum value of a column for a given column family for the |
| given range.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#max-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">max</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It gives the maximum value of a column for a given column family for the |
| given range.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#median-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">median</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">This is the client side interface/handler for calling the median method for a |
| given cf-cq combination.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#median-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">median</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">This is the client side interface/handler for calling the median method for a |
| given cf-cq combination.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#min-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">min</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It gives the minimum value of a column for a given column family for the |
| given range.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>R</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#min-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">min</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It gives the minimum value of a column for a given column family for the |
| given range.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#rowCount-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">rowCount</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It gives the row count, by summing up the individual results obtained from |
| regions.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#rowCount-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">rowCount</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It gives the row count, by summing up the individual results obtained from |
| regions.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#std-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">std</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">This is the client side interface/handle for calling the std method for a |
| given cf-cq combination.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#std-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">std</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">This is the client side interface/handle for calling the std method for a |
| given cf-cq combination.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>S</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#sum-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">sum</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It sums up the value returned from various regions.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message><br>S</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#sum-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-">sum</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> |
| <div class="block">It sums up the value returned from various regions.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="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">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <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">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</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">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">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</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">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">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">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="log"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.84">log</a></pre> |
| </li> |
| </ul> |
| <a name="connection"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>connection</h4> |
| <pre>private final <a href="../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.85">connection</a></pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="AggregationClient-org.apache.hadoop.conf.Configuration-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AggregationClient</h4> |
| <pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.138">AggregationClient</a>(org.apache.hadoop.conf.Configuration cfg)</pre> |
| <div class="block">Constructor with Conf object</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cfg</code> - Configuration to use</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="close--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.148">close</a>() |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="max-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>max</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> R <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.165">max</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It gives the maximum value of a column for a given column family for the |
| given range. In case qualifier is null, a max of all values for the given |
| family is returned.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>max val <R></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="max-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>max</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> R <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.185">max</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It gives the maximum value of a column for a given column family for the |
| given range. In case qualifier is null, a max of all values for the given |
| family is returned.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>max val <></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="min-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>min</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> R <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.235">min</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It gives the minimum value of a column for a given column family for the |
| given range. In case qualifier is null, a min of all values for the given |
| family is returned.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>min val <R></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="min-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>min</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> R <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.255">min</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It gives the minimum value of a column for a given column family for the |
| given range. In case qualifier is null, a min of all values for the given |
| family is returned.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>min val <R></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rowCount-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rowCount</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> long <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.310">rowCount</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It gives the row count, by summing up the individual results obtained from |
| regions. In case the qualifier is null, FirstKeyValueFilter is used to |
| optimised the operation. In case qualifier is provided, I can't use the |
| filter as it may set the flag to skip to next row, but the value read is |
| not of the given filter: in this case, this particular row will not be |
| counted ==> an error.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><R, S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rowCount-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rowCount</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> long <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.333">rowCount</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It gives the row count, by summing up the individual results obtained from |
| regions. In case the qualifier is null, FirstKeyValueFilter is used to |
| optimised the operation. In case qualifier is provided, I can't use the |
| filter as it may set the flag to skip to next row, but the value read is |
| not of the given filter: in this case, this particular row will not be |
| counted ==> an error.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><R, S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sum-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sum</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> S <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.381">sum</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It sums up the value returned from various regions. In case qualifier is |
| null, summation of all the column qualifiers in the given family is done.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>sum <S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sum-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sum</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> S <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.400">sum</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It sums up the value returned from various regions. In case qualifier is |
| null, summation of all the column qualifiers in the given family is done.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>sum <S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAvgArgs-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAvgArgs</h4> |
| <pre>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> <a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><S,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.451">getAvgArgs</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It computes average while fetching sum and row count from all the |
| corresponding regions. Approach is to compute a global sum of region level |
| sum and rowcount and then compute the average.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAvgArgs-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAvgArgs</h4> |
| <pre>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> <a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><S,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.469">getAvgArgs</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It computes average while fetching sum and row count from all the |
| corresponding regions. Approach is to compute a global sum of region level |
| sum and rowcount and then compute the average.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="avg-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>avg</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> double <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.532">avg</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">This is the client side interface/handle for calling the average method for |
| a given cf-cq combination. It was necessary to add one more call stack as |
| its return type should be a decimal value, irrespective of what |
| columninterpreter says. So, this methods collects the necessary parameters |
| to compute the average and returs the double value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><R, S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="avg-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>avg</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> double <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.551">avg</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">This is the client side interface/handle for calling the average method for |
| a given cf-cq combination. It was necessary to add one more call stack as |
| its return type should be a decimal value, irrespective of what |
| columninterpreter says. So, this methods collects the necessary parameters |
| to compute the average and returs the double value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><R, S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getStdArgs-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStdArgs</h4> |
| <pre>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> <a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><S>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.571">getStdArgs</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It computes a global standard deviation for a given column and its value. |
| Standard deviation is square root of (average of squares - |
| average*average). From individual regions, it obtains sum, square sum and |
| number of rows. With these, the above values are computed to get the global |
| std.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>standard deviations</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="std-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>std</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> double <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.645">std</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">This is the client side interface/handle for calling the std method for a |
| given cf-cq combination. It was necessary to add one more call stack as its |
| return type should be a decimal value, irrespective of what |
| columninterpreter says. So, this methods collects the necessary parameters |
| to compute the std and returns the double value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><R, S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="std-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>std</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> double <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.665">std</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">This is the client side interface/handle for calling the std method for a |
| given cf-cq combination. It was necessary to add one more call stack as its |
| return type should be a decimal value, irrespective of what |
| columninterpreter says. So, this methods collects the necessary parameters |
| to compute the std and returns the double value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><R, S></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMedianArgs-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMedianArgs</h4> |
| <pre>private <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> <a href="../../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><S>>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><S>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.691">getMedianArgs</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">It helps locate the region with median for a given column whose weight |
| is specified in an optional column. |
| From individual regions, it obtains sum of values and sum of weights.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>pair whose first element is a map between start row of the region |
| and (sum of values, sum of weights) for the region, the second element is |
| (sum of values, sum of weights) for all the regions chosen</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="median-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>median</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> R <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.753">median</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">This is the client side interface/handler for calling the median method for a |
| given cf-cq combination. This method collects the necessary parameters |
| to compute the median and returns the median.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableName</code> - the name of the table to scan</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>R the median</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="median-org.apache.hadoop.hbase.client.Table-org.apache.hadoop.hbase.coprocessor.ColumnInterpreter-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>median</h4> |
| <pre>public <R,S,P extends com.google.protobuf.Message,Q extends com.google.protobuf.Message,T extends com.google.protobuf.Message> R <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.772">median</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, |
| <a href="../../../../../../org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html" title="class in org.apache.hadoop.hbase.coprocessor">ColumnInterpreter</a><R,S,P,Q,T> ci, |
| <a href="../../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block">This is the client side interface/handler for calling the median method for a |
| given cf-cq combination. This method collects the necessary parameters |
| to compute the median and returns the median.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>table</code> - table to scan.</dd> |
| <dd><code>ci</code> - the user's ColumnInterpreter implementation</dd> |
| <dd><code>scan</code> - the HBase scan object to use to read data from HBase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>R the median</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code> - The caller is supposed to handle the exception as they are thrown |
| & propagated to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getBytesFromResponse-com.google.protobuf.ByteString-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getBytesFromResponse</h4> |
| <pre>byte[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html#line.846">getBytesFromResponse</a>(com.google.protobuf.ByteString response)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= 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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AggregationClient.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"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/hadoop/hbase/client/coprocessor/AggregationClient.AggregationClientRpcController.html" title="class in org.apache.hadoop.hbase.client.coprocessor"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html" target="_top">Frames</a></li> |
| <li><a href="AggregationClient.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |