Class AbstractDatabaseConnection

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<? extends elki.datasource.filter.ObjectFilter> filters
      The filters to invoke
      static java.lang.String LABEL_CONCATENATION
      A sign to separate components of a label.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractDatabaseConnection​(java.util.List<? extends elki.datasource.filter.ObjectFilter> filters)
      Constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract elki.logging.Logging getLogger()
      Get the logger for this database connection.
      protected elki.datasource.bundle.MultipleObjectsBundle invokeBundleFilters​(elki.datasource.bundle.MultipleObjectsBundle bundle)
      Transforms the specified list of objects and their labels into a list of objects and their associations.
      protected elki.datasource.bundle.BundleStreamSource invokeStreamFilters​(elki.datasource.bundle.BundleStreamSource stream)
      Transforms the specified list of objects and their labels into a list of objects and their associations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface elki.datasource.DatabaseConnection

        loadData
    • Field Detail

      • LABEL_CONCATENATION

        public static final java.lang.String LABEL_CONCATENATION
        A sign to separate components of a label.
        See Also:
        Constant Field Values
      • filters

        protected java.util.List<? extends elki.datasource.filter.ObjectFilter> filters
        The filters to invoke
    • Constructor Detail

      • AbstractDatabaseConnection

        protected AbstractDatabaseConnection​(java.util.List<? extends elki.datasource.filter.ObjectFilter> filters)
        Constructor.
        Parameters:
        filters - Filters to apply, can be null
    • Method Detail

      • invokeBundleFilters

        protected elki.datasource.bundle.MultipleObjectsBundle invokeBundleFilters​(elki.datasource.bundle.MultipleObjectsBundle bundle)
        Transforms the specified list of objects and their labels into a list of objects and their associations.
        Parameters:
        bundle - the objects to process
        Returns:
        processed objects
      • invokeStreamFilters

        protected elki.datasource.bundle.BundleStreamSource invokeStreamFilters​(elki.datasource.bundle.BundleStreamSource stream)
        Transforms the specified list of objects and their labels into a list of objects and their associations.
        Parameters:
        stream - the objects to process
        Returns:
        processed objects
      • getLogger

        protected abstract elki.logging.Logging getLogger()
        Get the logger for this database connection.
        Returns:
        Logger