Package org.deidentifier.arx.io
Klasse ImportConfigurationJDBC
java.lang.Object
org.deidentifier.arx.io.ImportConfiguration
org.deidentifier.arx.io.ImportConfigurationJDBC
Configuration describing a JDBC source.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungImportConfigurationJDBC(String url, String table) Creates a new instance of this object.ImportConfigurationJDBC(String url, String user, String password, String table) Creates a new instance of this object.ImportConfigurationJDBC(Connection connection, String table) Creates a new instance of this object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddColumn(ImportColumn column) Adds a single column to import from This makes sure that onlyImportColumnJDBCcan be added, otherwise anIllegalArgumentExceptionwill be thrown.voidclose()Closes any underlying JDBC connection that may have either been created by ARX or passed during construction.Von Klasse geerbte Methoden org.deidentifier.arx.io.ImportConfiguration
getColumns, isOptimizedLoading, setOptimizedLoading
-
Konstruktordetails
-
ImportConfigurationJDBC
Creates a new instance of this object.- Parameter:
connection-Ungültige Referenz
#setConnection(Connection)table-Ungültige Referenz
#setTable(String)
-
ImportConfigurationJDBC
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
Adds a single column to import from This makes sure that onlyImportColumnJDBCcan be added, otherwise anIllegalArgumentExceptionwill be thrown.- Angegeben von:
addColumnin KlasseImportConfiguration- 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.
-