Class ParallelPrecomputer.Job
- java.lang.Object
-
- org.intermine.objectstore.intermine.ParallelPrecomputer.Job
-
- All Implemented Interfaces:
java.lang.Comparable<ParallelPrecomputer.Job>
- Enclosing class:
- ParallelPrecomputer
public static class ParallelPrecomputer.Job extends java.lang.Object implements java.lang.Comparable<ParallelPrecomputer.Job>
Class representing a precomputing job to be performed.- Author:
- Matthew Wakeling
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ParallelPrecomputer.Job job)
-
-
-
Constructor Detail
-
Job
public Job(java.lang.String key, Query query, java.util.Collection<? extends QueryNode> indexes, boolean allFields, java.lang.String category)
Constructor - takes the same arguments as ObjectStoreInterMineImpl.precompute().- Parameters:
key
- a String that describes this jobquery
- the Query for which to create the precomputed tablesindexes
- a Collection of QueryOrderables for which to create indexesallFields
- true if all fields of QueryClasses in the SELECT list should be included in the precomputed table's SELECT list. If the indexes parameter is null, then indexes will be created for every field as wellcategory
- a String describing the category of the precomputed tables
-
-
Method Detail
-
compareTo
public int compareTo(ParallelPrecomputer.Job job)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ParallelPrecomputer.Job>
-
-