Follow the links below to browse sample Javadoc for MJ classes and tools, including the MJ Runtime Library.

 

Package: com.arsi.mj.maprpt.entity.etlgen.config  previous next contents

Defines configuration data that must be supplied to ETL tasks.

Classes and Interfaces
DefaultEtlConfig Default implementation of ETL configuration.
HibernateEtlConfig Implementation of ETL configuration that obtains JDBC connection parameters from Hibernate's configuration XML if not explicitly defined as a property.
IEtlConfig Defines configuration data that must be supplied to ETL tasks.

Class: DefaultEtlConfig   next package

Default implementation of ETL configuration.
Although this class is technically "thread-hostile" since there is no synchronization surrounding a state change, in practice an instance is immutable once created.
public class com.arsi.mj.maprpt.entity.etlgen.config.DefaultEtlConfig
  extends java.lang.Object
  implements com.arsi.mj.maprpt.entity.etlgen.config.IEtlConfig
Constructors
public DefaultEtlConfig()
Methods
public long getEtlUserId()
public java.lang.String getJdbcClasspath()
public java.lang.String getJdbcDriverClass()
public java.lang.String getJdbcPassword()
public java.lang.String getJdbcURL()
public java.lang.String getJdbcUsername()
public java.lang.String getNullString()
Set user ID to be used as created-by and last-updated-by in ETL tasks.
Parameters:
aUserId - a user ID that references a valid user entry.
public void setEtlUserId(long aUserId)
Set class path where JDBC driver classes can be found.
Parameters:
aClasspath - class path, where multiple components of class path are separated by platform-specific path separator character.
public void setJdbcClasspath(java.lang.String aClasspath)
Set name of JDBC driver class.
Parameters:
aDriver - name of driver class.
public void setJdbcDriverClass(java.lang.String aDriver)
Set password to supply as credentials when connecting via JDBC.
Parameters:
aPassword - JDBC password.
public void setJdbcPassword(java.lang.String aPassword)
JDBC-format URL that identifies database host, port, name, etc. to connect to.
Parameters:
aURL - JDBC-format URL.
public void setJdbcURL(java.lang.String aURL)
Set user name to supply as credentials when connecting via JDBC.
Parameters:
aUsername - JDBC user name.
public void setJdbcUsername(java.lang.String aUsername)
Set the string to be used to signify a NULL column to Scriptella CSV driver.
Parameters:
aNullString - string to be used to signify a NULL column, can be the empty string or something like "NULL" but should not be null.
public void setNullString(java.lang.String aNullString)

Class: HibernateEtlConfig   previous next package

Implementation of ETL configuration that obtains JDBC connection parameters from Hibernate's configuration XML if not explicitly defined as a property. This class is designed to be instantiated as a Spring bean.
Although this class is technically "thread-hostile" since there is no synchronization surrounding a state change, in practice an instance is immutable once created.
public class com.arsi.mj.maprpt.entity.etlgen.config.HibernateEtlConfig
  extends com.arsi.mj.maprpt.entity.etlgen.config.DefaultEtlConfig
Constructors
Zero-arg ctor that initializes an instance of this class.
public HibernateEtlConfig()
Methods
public java.lang.String getJdbcDriverClass()
public java.lang.String getJdbcPassword()
public java.lang.String getJdbcURL()
public java.lang.String getJdbcUsername()

Interface: IEtlConfig   previous package

Defines configuration data that must be supplied to ETL tasks.
public interface com.arsi.mj.maprpt.entity.etlgen.config.IEtlConfig
Methods
Get ID of user to use as the created-by and last-updated-by user in ETL tasks.
Returns:
user id that references a valid user entry or -1 if unknown.
public long getEtlUserId()
Get class path (relative or absolute) where JDBC driver classes can be found.
Returns:
JDBC driver class path or NULL if unknown.
public java.lang.String getJdbcClasspath()
Get class name of JDBC driver.
Returns:
JDBC driver class name or NULL if unknown.
public java.lang.String getJdbcDriverClass()
Get password to supply as credentials when connecting via JDBC.
Returns:
password or NULL if unknown.
public java.lang.String getJdbcPassword()
Get the JDBC-format URL that identifies the database that JDBC will connect to.
Returns:
JDBC-format URL or NULL if unknown.
public java.lang.String getJdbcURL()
Get user name to supply as credentials when connecting via JDBC.
Returns:
user name or NULL if unknown.
public java.lang.String getJdbcUsername()
Get the string to be used to signify a NULL column to Scriptella CSV driver.
Returns:
string to be used to signify a NULL column, can be the empty string or something like "NULL" but should not be null.
public java.lang.String getNullString()