Klasse ImportConfigurationJDBC

java.lang.Object
org.deidentifier.arx.io.ImportConfiguration
org.deidentifier.arx.io.ImportConfigurationJDBC

public class ImportConfigurationJDBC extends ImportConfiguration
Configuration describing a JDBC source.
  • Konstruktordetails

    • ImportConfigurationJDBC

      public ImportConfigurationJDBC(Connection connection, String table)
      Creates a new instance of this object.
      Parameter:
      connection -
      Ungültige Referenz
      #setConnection(Connection)
      table -
      Ungültige Referenz
      #setTable(String)
    • ImportConfigurationJDBC

      public ImportConfigurationJDBC(String url, String table) throws SQLException
      Creates a new instance of this object.
      Parameter:
      url -
      table -
      Ungültige Referenz
      #setTable(String)
      Löst aus:
      SQLException
    • ImportConfigurationJDBC

      public ImportConfigurationJDBC(String url, String user, String password, String table) throws SQLException
      Creates a new instance of this object.
      Parameter:
      url -
      user -
      password -
      table -
      Ungültige Referenz
      #setTable(String)
      Löst aus:
      SQLException
  • Methodendetails

    • addColumn

      public void addColumn(ImportColumn column)
      Adds a single column to import from This makes sure that only ImportColumnJDBC can be added, otherwise an IllegalArgumentException will be thrown.
      Angegeben von:
      addColumn in Klasse ImportConfiguration
      Parameter:
      column - A single column to import from, ImportColumnJDBC
    • close

      public void close()
      Closes any underlying JDBC connection that may have either been created by ARX or passed during construction.
    • getConnection

      protected Connection getConnection()
      Gibt zurück:
      connection
    • getTable

      protected String getTable()
      Gibt zurück:
      table
    • isManageConnection

      protected boolean isManageConnection()
      Returns whether we need to close the connection
      Gibt zurück: