public class BioAssaySetFilterUtil
extends java.lang.Object
Constructor and Description |
---|
BioAssaySetFilterUtil() |
Modifier and Type | Method and Description |
---|---|
static BioAssaySet |
createFilteredBioAssaySet(DbControl dc,
BioAssaySet parent,
java.util.List<BioAssay> bioAssays,
Job job,
DynamicFilter filter,
ProgressReporter progress) |
static BioAssaySet |
createFilteredBioAssaySet(DbControl dc,
BioAssaySet parent,
java.util.List<BioAssay> bioAssays,
Job job,
Restriction filter,
ProgressReporter progress)
Create a filtered bioassay set from a parent bioassay set using
a simple restriction.
|
public static BioAssaySet createFilteredBioAssaySet(DbControl dc, BioAssaySet parent, java.util.List<BioAssay> bioAssays, Job job, Restriction filter, ProgressReporter progress) throws InvalidDataException, BaseException
FilterBatcher.insert(net.sf.basedb.core.AbstractSqlQuery)
which is
very fast since most of the work is done by the database.
The calling code mustn't forget to commit the transaction.
dc
- The DbControl
object to use for database acecssparent
- The parent bioassay set to start frombioAssays
- Only filter on the specified bio assays, if the list
is null or empty all bioassays will be filteredjob
- The job that the transformation should be linked to, or
null if this method isn't called by a jobfilter
- A filter expressionprogress
- A ProgressReporter
object (optional, current not used)InvalidDataException
- If any of the required parameters is nullBaseException
- If creating a filtered bioassay set fails in some way.public static BioAssaySet createFilteredBioAssaySet(DbControl dc, BioAssaySet parent, java.util.List<BioAssay> bioAssays, Job job, DynamicFilter filter, ProgressReporter progress) throws InvalidDataException, BaseException
InvalidDataException
BaseException