default List<Partition> getPartitionsByNames(String catName, String dbName, String tblName,
      List<String> partNames) throws MetaException, NoSuchObjectException {
    return getPartitionsByNames(catName, dbName, tblName, new GetPartitionsArgs
        .GetPartitionsArgsBuilder().partNames(partNames).build());
  }
Get partitions by name.
@param catName catalog name.
@param dbName database name.
@param tblName table name.
@param partNames list of partition names.  These are names not values, so they will include
                 both the key and the value.
@return list of matching partitions
@throws MetaException error accessing the RDBMS.
@throws NoSuchObjectException No such table.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java