public UUID getDigest() {
    UUID uuid = digest;
    if (uuid == null) {
      synchronized (this) {
        uuid = digest;
        if (uuid == null) {
          final Digester digester = new Digester();
          properties.forEach((k, v) -> {
            digester.digest(k);
            digester.digest(v.getName());
          });
          if (values != null) {
            values.forEach((k, v) -> {
              digester.digest(k);
              digester.digest(v);
            });
          }
          uuid = digest = digester.getUUID();
        }
      }
    }
    return uuid;
  }
Gets this property schema digest.

@return the digest uuid
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertySchema.java