- All Known Implementing Classes:
public interface DynamicFilter
This interface is used together with the
BioAssaySetFilterUtilclass 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.
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $
configureQueryvoid configureQuery(SqlQuery query)Configure the query before it is used. This includes selecting any columns that is needed by the
includeSpot(SqlResult)method later and joining related tables (ie. raw data, reporter) that is needed by the filter.
query- The query to configure
useIncludeSpotboolean useIncludeSpot()If the
includeSpotmethod 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.
- TRUE or FALSE
includeSpotCheck if a spot should be included in the filtered output or not.
data- The current data row to check
- TRUE if the spot passed the filter, FALSE otherwise
SQLException- If running SQL statement fails.