Package org.intermine.bio.web.export
Class GFF3HttpExporter
- java.lang.Object
-
- org.intermine.web.logic.export.http.HttpExporterBase
-
- org.intermine.bio.web.export.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.TableHttpExporterAn implementation of TableHttpExporter that exports LocatedSequenceFeature objects in GFF3 format.
-
-
Field Summary
Fields Modifier and Type Field Description static intBIG_BATCH_SIZEThe batch size to use when we need to iterate through the whole result set.
-
Constructor Summary
Constructors Constructor Description GFF3HttpExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExport(org.intermine.web.logic.results.PagedTable pt)voidexport(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.
-
-
-
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
-
-
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:
exportin interfaceorg.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:
getInitialExportPathsin interfaceorg.intermine.web.logic.export.http.TableHttpExporter
-
canExport
public boolean canExport(org.intermine.web.logic.results.PagedTable pt)
- Specified by:
canExportin interfaceorg.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
-
-