Class GFF3HttpExporter

  • All Implemented Interfaces:
    org.intermine.web.logic.export.http.TableHttpExporter

    public class GFF3HttpExporter
    extends org.intermine.web.logic.export.http.HttpExporterBase
    implements org.intermine.web.logic.export.http.TableHttpExporter
    An implementation of TableHttpExporter that exports LocatedSequenceFeature objects in GFF3 format.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BIG_BATCH_SIZE
      The batch size to use when we need to iterate through the whole result set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canExport​(org.intermine.web.logic.results.PagedTable pt)
      void export​(org.intermine.web.logic.results.PagedTable pt, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.intermine.web.struts.TableExportForm form, java.util.Collection<org.intermine.pathquery.Path> unionPathCollection, java.util.Collection<org.intermine.pathquery.Path> newPathCollection)
      Method called to export a PagedTable object as GFF3.
      java.util.List<org.intermine.pathquery.Path> getExportClassPaths​(org.intermine.web.logic.results.PagedTable pt)  
      java.util.List<org.intermine.pathquery.Path> getInitialExportPaths​(org.intermine.web.logic.results.PagedTable pt)
      The intial export path list is just the paths from the columns of the PagedTable.
      • Methods inherited from class org.intermine.web.logic.export.http.HttpExporterBase

        getResultRows
      • Methods inherited from class java.lang.Object

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

      • BIG_BATCH_SIZE

        public static final int BIG_BATCH_SIZE
        The batch size to use when we need to iterate through the whole result set.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GFF3HttpExporter

        public GFF3HttpExporter()
    • Method Detail

      • export

        public void export​(org.intermine.web.logic.results.PagedTable pt,
                           javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           org.intermine.web.struts.TableExportForm form,
                           java.util.Collection<org.intermine.pathquery.Path> unionPathCollection,
                           java.util.Collection<org.intermine.pathquery.Path> newPathCollection)
        Method called to export a PagedTable object as GFF3. The PagedTable can only be exported if there is exactly one SequenceFeature column and the other columns (if any), are simple attributes (rather than objects).
        Specified by:
        export in interface org.intermine.web.logic.export.http.TableHttpExporter
      • getInitialExportPaths

        public java.util.List<org.intermine.pathquery.Path> getInitialExportPaths​(org.intermine.web.logic.results.PagedTable pt)
        The intial export path list is just the paths from the columns of the PagedTable.
        Specified by:
        getInitialExportPaths in interface org.intermine.web.logic.export.http.TableHttpExporter
      • canExport

        public boolean canExport​(org.intermine.web.logic.results.PagedTable pt)
        Specified by:
        canExport in interface org.intermine.web.logic.export.http.TableHttpExporter
      • getExportClassPaths

        public java.util.List<org.intermine.pathquery.Path> getExportClassPaths​(org.intermine.web.logic.results.PagedTable pt)
        Parameters:
        pt - PagedTable
        Returns:
        List