public Map<String, PropertyMap> selectProperties(String namePrefix, String predicateStr, List<String> projectStr) {
    final JexlExpression predicate;
    try {
      predicate = JEXL.createExpression(predicateStr);
    } catch (JexlException.Parsing xparse) {
      if (LOGGER.isDebugEnabled()) {
        LOGGER.debug(predicateStr, xparse);
      }
      throw new PropertyException(xparse);
    }
    return selectProperties(namePrefix, predicate, projectStr);
  }
Selects a set of properties.
@param namePrefix the map name prefix
@param predicateStr the condition selecting maps
@param projectStr the projection property names or script
@return the map of property maps keyed by their name
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyManager.java