Class BulkResponseParser

java.lang.Object
gov.nasa.pds.registry.common.connection.es.BulkResponseParser

public class BulkResponseParser extends Object
Parses JSON response from Elasticsearch bulk API and logs errors.
Author:
karpenko
  • Constructor Details

    • BulkResponseParser

      public BulkResponseParser()
      Constructor
  • Method Details

    • parse

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