Class TestConstraints
java.lang.Object
org.apache.hadoop.hbase.constraint.TestConstraints
Test reading/writing the constraints into the 
TableDescriptorBuilder.- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidTest that Constraints are properly enabled, disabled, and removedvoidvoidTest that if a constraint hasn't been set that there are no problems with attempting to remove it.voidvoidTest that when we update a constraint the ordering is not modified.
- 
Field Details- 
CLASS_RULE
- 
name
 
- 
- 
Constructor Details- 
TestConstraintspublic TestConstraints()
 
- 
- 
Method Details- 
testSimpleReadWrite- Throws:
- Exception
 
- 
testReadWriteWithConf- Throws:
- Exception
 
- 
testEnableDisableRemoveTest that Constraints are properly enabled, disabled, and removed- Throws:
- Exception
 
- 
testUpdateConstraintTest that when we update a constraint the ordering is not modified.- Throws:
- Exception
 
- 
testRemoveUnsetConstraintTest that if a constraint hasn't been set that there are no problems with attempting to remove it.- Throws:
- Exception
 
- 
testConfigurationPreserved- Throws:
- Exception
 
 
-