Revision ca243e1f
Added by Andreas Müller almost 6 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/SetSubtreePartitioner.java | ||
---|---|---|
1 |
/** |
|
2 |
* Copyright (C) 2018 EDIT |
|
3 |
* European Distributed Institute of Taxonomy |
|
4 |
* http://www.e-taxonomy.eu |
|
5 |
* |
|
6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
8 |
*/ |
|
9 |
package eu.etaxonomy.cdm.persistence.dao.hibernate.taxon; |
|
10 |
|
|
11 |
import java.util.HashSet; |
|
12 |
import java.util.Set; |
|
13 |
|
|
14 |
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor; |
|
15 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
|
16 |
|
|
17 |
/** |
|
18 |
* @author a.mueller |
|
19 |
* @since 03.05.2018 |
|
20 |
* |
|
21 |
*/ |
|
22 |
public class SetSubtreePartitioner { |
|
23 |
|
|
24 |
public <T extends TaxonBase<?>> void execute(String queryStr, IProgressMonitor monitor){ |
|
25 |
Set<T> result = new HashSet<>(); |
|
26 |
// Query query = getSession().createQuery(String queryStr, IProgressMonitor monitor); |
|
27 |
|
|
28 |
} |
|
29 |
} |
Also available in: Unified diff
revert SetSubtreePartitioner