com.easyinsight.helper
Class CompositeDataSourceFactory

java.lang.Object
  extended by com.easyinsight.helper.CompositeDataSourceFactory

public class CompositeDataSourceFactory
extends java.lang.Object

User: jamesboe Date: 12/22/10 Time: 10:13 AM


Constructor Summary
CompositeDataSourceFactory(java.lang.String dataSourceName, java.lang.String apiKey, java.lang.String apiSecretKey)
           
 
Method Summary
 void addDataSource(java.lang.String dataSourceKey)
          Adds the specified data source to the composite data source definition.
 void defineCompositeSource()
          Defines the composite data source using the specified data sources and joins.
 void joinDataSources(java.lang.String sourceDataSource, java.lang.String targetDataSource, java.lang.String sourceField, java.lang.String targetField)
          Defines a join between the specified source and target data sources, using the specified two fields as the actual join columns.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDataSourceFactory

public CompositeDataSourceFactory(java.lang.String dataSourceName,
                                  java.lang.String apiKey,
                                  java.lang.String apiSecretKey)
Method Detail

addDataSource

public void addDataSource(java.lang.String dataSourceKey)
Adds the specified data source to the composite data source definition.

Parameters:
dataSourceKey -

joinDataSources

public void joinDataSources(java.lang.String sourceDataSource,
                            java.lang.String targetDataSource,
                            java.lang.String sourceField,
                            java.lang.String targetField)
Defines a join between the specified source and target data sources, using the specified two fields as the actual join columns.

Parameters:
sourceDataSource -
targetDataSource -
sourceField -
targetField -

defineCompositeSource

public void defineCompositeSource()
                           throws EasyInsightException
Defines the composite data source using the specified data sources and joins.

Throws:
EasyInsightException