Interface IFilteredCollectionFactory

  • All Known Implementing Classes:
    OutlierFilteredFactory, WarmupFilteredFactory

    public interface IFilteredCollectionFactory
    Deprecated.
    Superseded by EDP2.
    Factory interface for creating the filtered collection - cf. java.util.Collection.
    • Method Detail

      • canFilter

        boolean canFilter​(Collection<Measurement> filtrate,
                          Number attribute)
        Deprecated.
        Check whether this filter factory can filter the given collection.
        Parameters:
        filtrate - The collection to filter
        attribute - The object of the required input attribute
        Returns:
        true if this factory can create filtered collection of the required type, false otherwise
      • getFilteredCollection

        AbstractMeasurementsCollection getFilteredCollection​(Collection<Measurement> filtrate)
        Deprecated.
        Factory method. Creates a new filter with default parameter
        Parameters:
        filtrate - The data source to filtering
        Returns:
        A data adapter which adapts the given data source
      • getFilteredCollection

        AbstractMeasurementsCollection getFilteredCollection​(Collection<Measurement> filtrate,
                                                             Number parameter)
        Deprecated.
        Factory method. Creates a new filter of this factory's type
        Parameters:
        filtrate - The data source to filtering
        Returns:
        A data adapter which adapts the given data source
      • getFilterFactoryID

        String getFilterFactoryID()
        Deprecated.
        Returns:
        A unique id for this filter factory
      • getProperties

        Properties getProperties()
        Deprecated.
        Get the properties used to configure the filter
        Returns:
        This filters properties
      • setProperties

        void setProperties​(Properties newProperties)
        Deprecated.
        Set the properties of this filter. Properties can be used to control the filters's parameter.
        Parameters:
        newProperties - The new properties to be used in this adapter
      • convertToType

        Number convertToType​(String type)
        Deprecated.
        TODO add documentation here
        Parameters:
        type -
        Returns: