busbey commented on a change in pull request #923: HBASE-23554 Encoded
regionname to regionname utility
URL: https://github.com/apache/hbase/pull/923#discussion_r356361192
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
##########
@@ -346,15 +346,23 @@ static TableName getTable(final byte [] regionName) {
return parseRegionName(regionName)[1];
}
- @InterfaceAudience.Private
- static boolean isEncodedRegionName(byte[] regionName) throws IOException {
+ /**
+ * Figure if the passed bytes represent an encoded region name or not.
+ * @param regionName A Region name either encoded or not.
+ * @return True if <code>regionName</code> represents an encoded name.
+ */
+ @InterfaceAudience.Private // For use by internals only.
Review comment:
RegionUtils? Maybe follow on to see if there's other related IA.Private
methods in more public classes?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services