Class LddVersions
java.lang.Object
gov.nasa.pds.registry.common.es.dao.dd.LddVersions
information about LDDs stored in Elasticsearch
- Author:
- karpenko
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSchemaFile(String file) Add schema file, such as "PDS4_IMG_1F00_1810.JSON"voiddebug()Print debug informationbooleanisEmpty()Check if there are any LDDsvoidupdateDate(String str) Update LDD date (find the maximum / last date)
-
Field Details
-
files
-
lastDate
-
-
Constructor Details
-
LddVersions
public LddVersions()Constructor
-
-
Method Details
-
isEmpty
public boolean isEmpty()Check if there are any LDDs- Returns:
- boolean flag
-
updateDate
Update LDD date (find the maximum / last date)- Parameters:
str- date (timestamp) as a string
-
addSchemaFile
Add schema file, such as "PDS4_IMG_1F00_1810.JSON"- Parameters:
file- Schema file name
-
debug
public void debug()Print debug information
-