Class DaoUtils
java.lang.Object
gov.nasa.pds.registry.common.es.dao.DaoUtils
Common methods used by DAOs
- Author:
- karpenko
-
Constructor Details
-
DaoUtils
public DaoUtils()
-
-
Method Details
-
getLastLine
This method is used to parse multi-line Elasticsearch error responses. JSON error response is on the last line of a message.- Parameters:
is- input stream- Returns:
- Last line
-
parseList
- Throws:
IOException
-
parseSet
- Throws:
IOException
-