protected String propertyName(String[] keys, int maxkl) {
    if (keys.length < 1) {
      throw new IllegalArgumentException("at least 1 key fragments expected");
    }
    if (keys.length <= maxkl) {
      return keys[keys.length - 1];
    }
    StringBuilder strb = new StringBuilder(keys[maxkl]);
    for(int k = maxkl + 1; k < keys.length; ++k) {
      strb.append('.');
      strb.append(keys[k]);
    }
    return strb.toString();
  }
Compose a property name from property key fragments.
@param keys the key fragments
@param maxkl the maximum number of fragments in the map name
@return the property name
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyManager.java