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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) String[]
(package private) String[]
private static final org.slf4j.Logger
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
Test default value handling for maxFileSizevoid
Test default value handling for memStoreFlushSizevoid
Test cps in the table description.void
void
void
void
void
void
void
testPb()
void
void
Test removing cps in the table description that does not existvoid
Test that we add and remove strings from settings properly.void
void
Test cps in the table description.void
void
void
-
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.DeserializationException
IOException
-
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
-
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
-
testSetEmptyValue
-