Like what you see? Have a play with our trial version.

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A connector DataSource is an implementation of the abstract java class AbstractDataSource. When defining a DataSource the following functions require implementation: 

 

     public abstract String getDataSourceName(); 
public abstract Collection<AbstractDataSet> getDataSets();
public abstract JDBCMetaData getDataSourceMetaData();
public abstract boolean authenticate() throws Exception;
public abstract void disconnect();
public abstract Map<String, Object> testConnection() throws Exception

...

The following functions can optionally be overwritten: 

 

     public ScheduleDefinition getScheduleDefinition(); 
public boolean autoRun() { return true; };

 

The following functions are available as utility functions: 

 

     protected final byte[] loadBlob(String key); 
protected final boolean saveBlob(String key, byte[] data);
protected final boolean areBlobsAvailable();
public final Object getAttribute(String key);
public final Integer getSourceId();