Interface DynamicFilter

    • Method Detail

      • configureQuery

        void 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.
        Parameters:
        query - The query to configure
      • useIncludeSpot

        boolean useIncludeSpot()
        If the 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.
        Returns:
        TRUE or FALSE
      • includeSpot

        boolean includeSpot​(SqlResult data)
                     throws SQLException
        Check if a spot should be included in the filtered output or not.
        Parameters:
        data - The current data row to check
        Returns:
        TRUE if the spot passed the filter, FALSE otherwise
        Throws:
        SQLException - If running SQL statement fails.