Class JSONRowResultProcessor


  • public class JSONRowResultProcessor
    extends JSONResultProcessor
    A result processor for result rows.
    Author:
    Alex Kalderimis
    • Constructor Detail

      • JSONRowResultProcessor

        public JSONRowResultProcessor​(InterMineAPI im)
        Constructor.
        Parameters:
        im - The API settings bundle
      • JSONRowResultProcessor

        public JSONRowResultProcessor​(InterMineAPI im,
                                      JSONRowResultProcessor.Verbosity verbosity)
        Construct a row result processor.
        Parameters:
        im - The InterMine state object.
        verbosity - How verbose should we be.
    • Method Detail

      • getResultsIterator

        protected java.util.Iterator<? extends java.lang.Object> getResultsIterator​(java.util.Iterator<java.util.List<ResultElement>> it)
        Description copied from class: JSONResultProcessor
        The method a processor must implement to produce a results iterator.
        Specified by:
        getResultsIterator in class JSONResultProcessor
        Parameters:
        it - The ExportResultsIterator this iterator will use to process its data.
        Returns:
        An iterator of objects.