Class HsqlCollector

java.lang.Object
de.hybris.datasupplier.collectors.impl.AbstractDatabaseCollector
de.hybris.datasupplier.collectors.impl.HsqlCollector
All Implemented Interfaces:
DatabaseCollector

public class HsqlCollector extends AbstractDatabaseCollector
  • Constructor Details

    • HsqlCollector

      public HsqlCollector()
  • Method Details

    • isApplicable

      public boolean isApplicable(String url)
      Description copied from interface: DatabaseCollector
      Checks whether this strategy should be applied to a given connection string.
      Parameters:
      url - jdbc connection string
      Returns:
      true if this strategy should be used
    • getHost

      public URI getHost(String url) throws URISyntaxException
      Description copied from interface: DatabaseCollector
      Extracts host as a URI from the jdbc connection string.
      Specified by:
      getHost in interface DatabaseCollector
      Overrides:
      getHost in class AbstractDatabaseCollector
      Parameters:
      url - jdbc connection string
      Returns:
      host of the database as a URI
      Throws:
      URISyntaxException - in case of being unable to parse the connection string to a URI
    • getName

      public String getName(String url)
      Description copied from interface: DatabaseCollector
      Extracts the database name from a jdbc connection string.
      Parameters:
      url - jdbc connection string
      Returns:
      name of the database