Class BagResultCategoryKeyFormatter

  • All Implemented Interfaces:
    BagResultFormatter

    public class BagResultCategoryKeyFormatter
    extends java.lang.Object
    implements BagResultFormatter
    Format a bag query result, grouping by category of issue.
    Author:
    Alex Kalderimis
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> format​(Job job)
      Turn a job into a serialisable structure.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BagResultCategoryKeyFormatter

        public BagResultCategoryKeyFormatter​(InterMineAPI api)
        Parameters:
        api - The InterMine state object
    • Method Detail

      • format

        public java.util.Map<java.lang.String,​java.lang.Object> format​(Job job)
        Description copied from interface: BagResultFormatter
        Turn a job into a serialisable structure.
        Specified by:
        format in interface BagResultFormatter
        Parameters:
        job - The job to serialise.
        Returns:
        A simple serialisable data structure.