Java Code Examples for org.apache.hadoop.hbase.HTableDescriptor#remove()

The following examples show how to use org.apache.hadoop.hbase.HTableDescriptor#remove() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Constraints.java    From hbase with Apache License 2.0 2 votes vote down vote up
/**
 * Remove the constraint (and associated information) for the table
 * descriptor.
 * 
 * @param desc
 *          {@link HTableDescriptor} to modify
 * @param clazz
 *          {@link Constraint} class to remove
 */
public static void remove(HTableDescriptor desc,
    Class<? extends Constraint> clazz) {
  String key = serializeConstraintClass(clazz);
  desc.remove(key);
}