Class JSONTableResultProcessor
- java.lang.Object
-
- org.intermine.webservice.server.core.ResultProcessor
-
- org.intermine.webservice.server.output.JSONResultProcessor
-
- org.intermine.webservice.server.output.JSONTableResultProcessor
-
public class JSONTableResultProcessor extends JSONResultProcessor
- Author:
- Alexis Kalderimis A class for producing rows of results as JSON arrays being written to the output.
-
-
Constructor Summary
Constructors Constructor Description JSONTableResultProcessor()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Iterator<? extends java.lang.Object>
getResultsIterator(java.util.Iterator<java.util.List<ResultElement>> it)
The method a processor must implement to produce a results iterator.-
Methods inherited from class org.intermine.webservice.server.output.JSONResultProcessor
write
-
-
-
-
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 classJSONResultProcessor
- Parameters:
it
- The ExportResultsIterator this iterator will use to process its data.- Returns:
- An iterator of objects.
-
-