Search in sources :

Example 1 with ConsolidationCollection

use of org.pentaho.di.palo.core.ConsolidationCollection in project pentaho-kettle by pentaho.

the class PaloDimOutput method init.

public final boolean init(StepMetaInterface smi, StepDataInterface sdi) {
    meta = (PaloDimOutputMeta) smi;
    data = (PaloDimOutputData) sdi;
    this.consolidations = new ConsolidationCollection();
    if (super.init(smi, sdi)) {
        try {
            this.logBasic("Meta Levels:" + meta.getLevels().size());
            data.helper = new PaloHelper(meta.getDatabaseMeta(), getLogLevel());
            data.helper.connect();
            return true;
        } catch (Exception e) {
            logError("An error occurred, processing will be stopped: " + e.getMessage());
            setErrors(1);
            stopAll();
        }
    }
    return false;
}
Also used : PaloHelper(org.pentaho.di.palo.core.PaloHelper) ConsolidationCollection(org.pentaho.di.palo.core.ConsolidationCollection) KettleException(org.pentaho.di.core.exception.KettleException)

Aggregations

KettleException (org.pentaho.di.core.exception.KettleException)1 ConsolidationCollection (org.pentaho.di.palo.core.ConsolidationCollection)1 PaloHelper (org.pentaho.di.palo.core.PaloHelper)1