Class Constraints

java.lang.Object
org.apache.hadoop.hbase.constraint.Constraints

@Public public final class Constraints extends Object
Utilities for adding/removing constraints from a table.

Since TableDescriptor is immutable now, you should use TableDescriptorBuilder. And when disabling or removing constraints, you could use TableDescriptorBuilder.newBuilder(TableDescriptor) to clone the old TableDescriptor and then pass it the below methods.