public class TestRequestAndConnectionAttributes extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestRequestAndConnectionAttributes.AttributesCoprocessor |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static Map<String,byte[]> |
CONNECTION_ATTRIBUTES |
private static ExecutorService |
EXECUTOR_SERVICE |
private static Map<String,byte[]> |
REQUEST_ATTRIBUTES |
private static org.apache.hadoop.hbase.TableName |
REQUEST_ATTRIBUTES_TEST_TABLE |
private static byte[] |
REQUEST_ATTRIBUTES_TEST_TABLE_CF |
private static AtomicBoolean |
REQUEST_ATTRIBUTES_VALIDATED |
private static HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestRequestAndConnectionAttributes() |
Modifier and Type | Method and Description |
---|---|
private void |
addRandomRequestAttributes() |
static void |
afterClass() |
private static org.apache.hadoop.hbase.client.TableBuilder |
configureRequestAttributes(org.apache.hadoop.hbase.client.TableBuilder tableBuilder) |
void |
setup() |
static void |
setUp() |
void |
testConnectionHeaderOverwrittenAttributesRemain() |
void |
testNoRequestAttributes() |
void |
testRequestAttributesExists() |
void |
testRequestAttributesGet() |
void |
testRequestAttributesMultiGet() |
void |
testRequestAttributesMultiPut() |
void |
testRequestAttributesPut() |
void |
testRequestAttributesScan() |
public static final HBaseClassTestRule CLASS_RULE
private static final Map<String,byte[]> CONNECTION_ATTRIBUTES
private static final Map<String,byte[]> REQUEST_ATTRIBUTES
private static final ExecutorService EXECUTOR_SERVICE
private static final AtomicBoolean REQUEST_ATTRIBUTES_VALIDATED
private static final byte[] REQUEST_ATTRIBUTES_TEST_TABLE_CF
private static final org.apache.hadoop.hbase.TableName REQUEST_ATTRIBUTES_TEST_TABLE
private static HBaseTestingUtil TEST_UTIL
public TestRequestAndConnectionAttributes()
public static void afterClass() throws Exception
Exception
public void setup()
public void testConnectionHeaderOverwrittenAttributesRemain() throws IOException
IOException
public void testRequestAttributesGet() throws IOException
IOException
public void testRequestAttributesMultiGet() throws IOException
IOException
public void testRequestAttributesExists() throws IOException
IOException
public void testRequestAttributesScan() throws IOException
IOException
public void testRequestAttributesPut() throws IOException
IOException
public void testRequestAttributesMultiPut() throws IOException
IOException
public void testNoRequestAttributes() throws IOException
IOException
private void addRandomRequestAttributes()
private static org.apache.hadoop.hbase.client.TableBuilder configureRequestAttributes(org.apache.hadoop.hbase.client.TableBuilder tableBuilder)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.