public interface DynamicFilter
BioAssaySetFilterUtil
class to help a plugin filter the data of a bioassay set. A plugin
must supply an implementation of this interface to be able to use the
BioAssaySetFilterUtil.createFilteredBioAssaySet(DbControl, BioAssaySet,
List, Job, DynamicFilter, ProgressReporter)
method.Modifier and Type | Method and Description |
---|---|
void |
configureQuery(SqlQuery query)
Configure the query before it is used.
|
boolean |
includeSpot(SqlResult data)
Check if a spot should be included in the filtered output or not.
|
boolean |
useIncludeSpot()
If the
includeSpot method must be called for each spot or not. |
void configureQuery(SqlQuery query)
includeSpot(SqlResult)
method
later and joining related tables (ie. raw data, reporter) that is needed
by the filter.query
- The query to configureboolean useIncludeSpot()
includeSpot
method must be called for each spot or not.
If FALSE is returned, all rows that are returned by the query are included in
the filtered bioassay set.boolean includeSpot(SqlResult data) throws java.sql.SQLException
data
- The current data row to checkjava.sql.SQLException
- If running SQL statement fails.