Class TestConstraints
java.lang.Object
org.apache.hadoop.hbase.constraint.TestConstraints
Test reading/writing the constraints into the
TableDescriptorBuilder
.-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Test that Constraints are properly enabled, disabled, and removedvoid
void
Test that if a constraint hasn't been set that there are no problems with attempting to remove it.void
void
Test that when we update a constraint the ordering is not modified.
-
Field Details
-
CLASS_RULE
-
name
-
-
Constructor Details
-
TestConstraints
public TestConstraints()
-
-
Method Details
-
testSimpleReadWrite
- Throws:
Exception
-
testReadWriteWithConf
- Throws:
Exception
-
testEnableDisableRemove
Test that Constraints are properly enabled, disabled, and removed- Throws:
Exception
-
testUpdateConstraint
Test that when we update a constraint the ordering is not modified.- Throws:
Exception
-
testRemoveUnsetConstraint
Test that if a constraint hasn't been set that there are no problems with attempting to remove it.- Throws:
Exception
-
testConfigurationPreserved
- Throws:
Exception
-