public class TestCoprocessorTableEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
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 HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestCoprocessorTableEndpoint() |
Modifier and Type | Method and Description |
---|---|
private static void |
createTable(org.apache.hadoop.hbase.HTableDescriptor desc) |
private static byte[][] |
makeN(byte[] base,
int n) |
static void |
setupBeforeClass() |
private static Map<byte[],Long> |
sum(org.apache.hadoop.hbase.client.Table table,
byte[] family,
byte[] qualifier,
byte[] start,
byte[] end) |
static void |
tearDownAfterClass() |
void |
testCoprocessorTableEndpoint() |
void |
testDynamicCoprocessorTableEndpoint() |
private static void |
updateTable(org.apache.hadoop.hbase.HTableDescriptor desc) |
private static void |
verifyTable(org.apache.hadoop.hbase.TableName tableName) |
public static final HBaseClassTestRule CLASS_RULE
private static final byte[] TEST_FAMILY
private static final byte[] TEST_QUALIFIER
private static final byte[] ROW
private static final int ROWSIZE
private static final int rowSeperator1
private static final int rowSeperator2
private static final byte[][] ROWS
private static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.TestName name
public TestCoprocessorTableEndpoint()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testCoprocessorTableEndpoint() throws Throwable
Throwable
public void testDynamicCoprocessorTableEndpoint() throws Throwable
Throwable
private static byte[][] makeN(byte[] base, int n)
private static Map<byte[],Long> 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
private static final void createTable(org.apache.hadoop.hbase.HTableDescriptor desc) throws Exception
Exception
private static void updateTable(org.apache.hadoop.hbase.HTableDescriptor desc) throws Exception
Exception
private static final void verifyTable(org.apache.hadoop.hbase.TableName tableName) throws Throwable
Throwable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.