public class TestAsyncAggregationClient extends Object
Modifier and Type | Field and Description |
---|---|
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.AsyncConnection |
CONN |
private static int |
COUNT |
private static byte[] |
CQ |
private static byte[] |
CQ2 |
private static double |
DELTA |
private static org.apache.hadoop.hbase.client.AsyncTable<org.apache.hadoop.hbase.client.AdvancedScanResultConsumer> |
TABLE |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestAsyncAggregationClient() |
Modifier and Type | Method and Description |
---|---|
static void |
setUp() |
static void |
tearDown() |
void |
testAvg() |
void |
testMax() |
void |
testMedian() |
void |
testMedianWithWeight() |
void |
testMin() |
void |
testRowCount() |
void |
testStd() |
void |
testSum() |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static byte[] CF
private static byte[] CQ
private static byte[] CQ2
private static int COUNT
private static org.apache.hadoop.hbase.client.AsyncConnection CONN
private static org.apache.hadoop.hbase.client.AsyncTable<org.apache.hadoop.hbase.client.AdvancedScanResultConsumer> TABLE
private static final double DELTA
public TestAsyncAggregationClient()
public void testMax() throws InterruptedException, ExecutionException
public void testMin() throws InterruptedException, ExecutionException
public void testRowCount() throws InterruptedException, ExecutionException
public void testSum() throws InterruptedException, ExecutionException
public void testAvg() throws InterruptedException, ExecutionException
public void testStd() throws InterruptedException, ExecutionException
public void testMedian() throws InterruptedException, ExecutionException
public void testMedianWithWeight() throws InterruptedException, ExecutionException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.