Class LddVersions

java.lang.Object
gov.nasa.pds.registry.common.es.dao.dd.LddVersions

public class LddVersions extends Object
information about LDDs stored in Elasticsearch
Author:
karpenko
  • Field Details

  • Constructor Details

    • LddVersions

      public LddVersions()
      Constructor
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Check if there are any LDDs
      Returns:
      boolean flag
    • updateDate

      public void updateDate(String str)
      Update LDD date (find the maximum / last date)
      Parameters:
      str - date (timestamp) as a string
    • addSchemaFile

      public void addSchemaFile(String file)
      Add schema file, such as "PDS4_IMG_1F00_1810.JSON"
      Parameters:
      file - Schema file name
    • debug

      public void debug()
      Print debug information