Class LatestLidsResponseParser

java.lang.Object
gov.nasa.pds.registry.common.es.dao.LatestLidsResponseParser

public class LatestLidsResponseParser extends Object
Parse response of an aggregation query to get latest LIDVIDs for a list of LIDs
Author:
karpenko
  • Constructor Details

    • LatestLidsResponseParser

      public LatestLidsResponseParser()
      Constructor
  • Method Details

    • getLidvids

      public List<String> getLidvids()
      Return LIDVIDs extracted from response JSON
      Returns:
      list of latest LIDVIDs
    • parse

      public void parse(Reader reader) throws IOException
      Parse JSON string
      Parameters:
      reader - bulk API response stream
      Throws:
      IOException - an exception