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.

...

The connector metadata is an implementation of abstract java class JDBCMetaData. This defines what connection details need to be prompted to the user for creating a connection to a third-party source. This may include parameters like usernames, tokens, hostnames, ports, account names, etc. 

 

Metadata Function List

The Basically, the JDBCMetaData class is used for building a connection wizard for a data source. The following functions need to be implemented to create a basic connection wizard: 

 

...

public

...

JDBCMetaData();

...

 

public void initialiseParameters();

...

 

public String buttonPressed(String

...

buttonName)

...

throws

...

Exception; 

 
 

 

Helper functions that are also accessible in JDBCMetaData: 

 

...

protected

...

final

...

void

...

addParameter(Parameter

...

p);

...

 

public void setParameterValue(String

...

key,

...

Object

...

value);

...

 

public final Object getParameterValue(String

...

key);

...

 

public boolean isParameterRequired(String

...

key);

...

 

public boolean hasDependentParameters(String

...

key);

...

 

 

 

Metadata Function Definitions

 

Anchor
metafunc1
metafunc1

public JDBCMetaData(); (Constructor) 

...

Code Block
languagejava
public SkiTeamMetaData() { 

			super(); 

			sourceName = "Ski Team Source"; 
			sourceCode = "SKI_DATA_SOURCE"; 
			driverName = SkiTeamDataSource.class.getName(); 
			sourceType = DBType.THIRD_PARTY; 

} 
 

 

Anchor
 
metafunc2
metafunc2

public void initialiseParameters(); 

...