You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/02/29 01:59:13 UTC

[GitHub] [hbase] HorizonNet commented on a change in pull request #1222: HBASE-23868 : Replace usages of HColumnDescriptor(byte [] familyName)…

HorizonNet commented on a change in pull request #1222: HBASE-23868 : Replace usages of HColumnDescriptor(byte [] familyName)…
URL: https://github.com/apache/hbase/pull/1222#discussion_r385977261
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/constraint/Constraints.java
 ##########
 @@ -203,6 +230,38 @@ public static void add(HTableDescriptor desc,
     updateLatestPriority(desc, priority);
   }
 
+  /**
+   * Add configuration-less constraints to the table.
+   * <p>
+   * This will overwrite any configuration associated with the previous
+   * constraint of the same class.
+   * <p>
+   * Each constraint, when added to the table, will have a specific priority,
+   * dictating the order in which the {@link Constraint} will be run. A
+   * {@link Constraint} earlier in the list will be run before those later in
+   * the list. The same logic applies between two Constraints over time (earlier
+   * added is run first on the regionserver).
+   *
+   * @param tableDescriptor TableDescriptorBuilder.ModifyableTableDescriptor
+   *   to add {@link Constraint Constraints}
+   * @param constraints {@link Constraint Constraints} to add. All constraints are
 
 Review comment:
   Ditto.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services