Package org.apache.hadoop.hbase.client
Class TestRequestAttributes
java.lang.Object
org.apache.hadoop.hbase.client.TestRequestAttributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static SingleProcessHBaseClusterprivate static final ExecutorServiceprivate static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate static org.apache.hadoop.hbase.client.BufferedMutatorParamsconfigureRequestAttributes(org.apache.hadoop.hbase.client.BufferedMutatorParams params, Map<String, byte[]> requestAttributes) private static org.apache.hadoop.hbase.client.TableBuilderconfigureRequestAttributes(org.apache.hadoop.hbase.client.TableBuilder tableBuilder, Map<String, byte[]> requestAttributes) static voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
ROW_KEY1
-
ROW_KEY2A
-
ROW_KEY2B
-
ROW_KEY3
-
ROW_KEY4
-
ROW_KEY5
-
ROW_KEY6
-
ROW_KEY7
-
ROW_KEY8
-
CONNECTION_ATTRIBUTES
-
REQUEST_ATTRIBUTES_SCAN
-
ROW_KEY_TO_REQUEST_ATTRIBUTES
-
EXECUTOR_SERVICE
-
FAMILY
-
TABLE_NAME
-
TEST_UTIL
-
cluster
-
-
Constructor Details
-
TestRequestAttributes
public TestRequestAttributes()
-
-
Method Details
-
setUp
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testRequestAttributesGet
- Throws:
IOException
-
testRequestAttributesMultiGet
- Throws:
IOException
-
testRequestAttributesScan
- Throws:
IOException
-
testRequestAttributesPut
- Throws:
IOException
-
testRequestAttributesMultiPut
- Throws:
IOException
-
testRequestAttributesBufferedMutate
- Throws:
IOExceptionInterruptedException
-
testRequestAttributesExists
- Throws:
IOException
-
testRequestAttributesFromRpcController
- Throws:
IOExceptionInterruptedException
-
testNoRequestAttributes
- Throws:
IOException
-
addRandomRequestAttributes
-
configureRequestAttributes
private static org.apache.hadoop.hbase.client.TableBuilder configureRequestAttributes(org.apache.hadoop.hbase.client.TableBuilder tableBuilder, Map<String, byte[]> requestAttributes) -
configureRequestAttributes
private static org.apache.hadoop.hbase.client.BufferedMutatorParams configureRequestAttributes(org.apache.hadoop.hbase.client.BufferedMutatorParams params, Map<String, byte[]> requestAttributes)
-