public class TestBatchCoprocessorEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static byte[] |
ROW |
private static byte[][] |
ROWS |
private static int |
rowSeperator1 |
private static int |
rowSeperator2 |
private static int |
ROWSIZE |
private static byte[] |
TEST_FAMILY |
private static byte[] |
TEST_QUALIFIER |
private static org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private static HBaseTestingUtility |
util |
Constructor and Description |
---|
TestBatchCoprocessorEndpoint() |
Modifier and Type | Method and Description |
---|---|
private static byte[][] |
makeN(byte[] base,
int n) |
static void |
setupBeforeClass() |
private Map<byte[],org.apache.hadoop.hbase.coprocessor.protobuf.generated.ColumnAggregationProtos.SumResponse> |
sum(org.apache.hadoop.hbase.client.Table table,
byte[] family,
byte[] qualifier,
byte[] start,
byte[] end) |
static void |
tearDownAfterClass() |
void |
testAggregation() |
void |
testAggregationNullResponse() |
void |
testAggregationWithErrors() |
void |
testAggregationWithReturnValue() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TEST_TABLE
private static final byte[] TEST_FAMILY
private static final byte[] TEST_QUALIFIER
private static byte[] ROW
private static final int ROWSIZE
private static final int rowSeperator1
private static final int rowSeperator2
private static byte[][] ROWS
private static HBaseTestingUtility util
public TestBatchCoprocessorEndpoint()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testAggregationNullResponse() throws Throwable
Throwable
private static byte[][] makeN(byte[] base, int n)
private Map<byte[],org.apache.hadoop.hbase.coprocessor.protobuf.generated.ColumnAggregationProtos.SumResponse> sum(org.apache.hadoop.hbase.client.Table table, byte[] family, byte[] qualifier, byte[] start, byte[] end) throws com.google.protobuf.ServiceException, Throwable
com.google.protobuf.ServiceException
Throwable
public void testAggregationWithReturnValue() throws Throwable
Throwable
public void testAggregation() throws Throwable
Throwable
public void testAggregationWithErrors() throws Throwable
Throwable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.