Package org.apache.hadoop.hbase.client
Class TestTableDescriptorBuilder
java.lang.Object
org.apache.hadoop.hbase.client.TestTableDescriptorBuilder
Test setting values in the descriptor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule(package private) String[](package private) String[]private static final org.slf4j.Loggerorg.junit.rules.TestName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidTest default value handling for maxFileSizevoidTest default value handling for memStoreFlushSizevoidvoidTest cps in the table description.voidvoidvoidvoidvoidvoidvoidtestPb()voidvoidTest removing cps in the table description that does not existvoidTest that we add and remove strings from settings properly.voidvoidTest cps in the table description.voidvoidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
name
-
legalTableNames
-
illegalTableNames
-
-
Constructor Details
-
TestTableDescriptorBuilder
public TestTableDescriptorBuilder()
-
-
Method Details
-
testAddCoprocessorTwice
- Throws:
IOException
-
testPb
public void testPb() throws org.apache.hadoop.hbase.exceptions.DeserializationException, IOException- Throws:
org.apache.hadoop.hbase.exceptions.DeserializationExceptionIOException
-
testGetSetRemoveCP
Test cps in the table description.- Throws:
Exception- if setting a coprocessor fails
-
testSetListRemoveCP
Test cps in the table description.- Throws:
Exception- if setting a coprocessor fails
-
testRemoveNonExistingCoprocessor
Test removing cps in the table description that does not exist- Throws:
Exception- if removing a coprocessor fails other than IllegalArgumentException
-
testRemoveString
Test that we add and remove strings from settings properly. -
testLegalTableNames
-
testIllegalTableNames
-
testLegalTableNamesRegex
-
testIllegalTableNamesRegex
-
testGetMaxFileSize
Test default value handling for maxFileSize -
testSetMaxFileSize
- Throws:
org.apache.hadoop.hbase.exceptions.HBaseException
-
testGetMemStoreFlushSize
Test default value handling for memStoreFlushSize -
testSetMemStoreFlushSize
- Throws:
org.apache.hadoop.hbase.exceptions.HBaseException
-
testClassMethodsAreBuilderStyle
-
testModifyFamily
-
testModifyInexistentFamily
-
testAddDuplicateFamilies
-
testPriority
-
testStringCustomizedValues
- Throws:
org.apache.hadoop.hbase.exceptions.HBaseException
-
testGetSetRegionServerGroup
-
testSetEmptyValue
-