public LockComponent build() {
      LockLevel level = LockLevel.DB;
      if (tableNameSet) level = LockLevel.TABLE;
      if (partNameSet) level = LockLevel.PARTITION;
      component.setLevel(level);
      return component;
    }
Set the partition name.
@param partitionName partition name
@return reference to this builder
standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java