Search in sources :

Example 1 with MasterListJobQuery

use of net.geoprism.registry.etl.MasterListJobQuery in project geoprism-registry by terraframe.

the class MasterList method getJobs.

public List<MasterListJob> getJobs() {
    MasterListJobQuery query = new MasterListJobQuery(new QueryFactory());
    query.WHERE(query.getMasterList().EQ(this));
    try (OIterator<? extends MasterListJob> it = query.getIterator()) {
        return new LinkedList<MasterListJob>(it.getAll());
    }
}
Also used : QueryFactory(com.runwaysdk.query.QueryFactory) MasterListJobQuery(net.geoprism.registry.etl.MasterListJobQuery) LinkedList(java.util.LinkedList)

Aggregations

QueryFactory (com.runwaysdk.query.QueryFactory)1 LinkedList (java.util.LinkedList)1 MasterListJobQuery (net.geoprism.registry.etl.MasterListJobQuery)1