edu.udo.cs.miningmart.operator
Class MultipleCSOperator

java.lang.Object
  extended by edu.udo.cs.miningmart.operator.ExecutableOperator
      extended by edu.udo.cs.miningmart.operator.ConceptOperator
          extended by edu.udo.cs.miningmart.operator.MultipleCSOperator
Direct Known Subclasses:
Segmentation, Unsegment

public abstract class MultipleCSOperator
extends ConceptOperator

This abstract class is the superclass for all operators that create more than one ColumnSet for the output concept.

Version:
$Id: MultipleCSOperator.java,v 1.5 2006/09/27 14:59:55 euler Exp $
Author:
Timm Euler
See Also:
edu.udo.cs.miningmart.m4.core.operator.SingleCSOperator, edu.udo.cs.miningmart.m4.core.operator.ConceptOperator, edu.udo.cs.miningmart.m4.core.operator.Segmentation

Field Summary
 
Fields inherited from class edu.udo.cs.miningmart.operator.ConceptOperator
suffixForIntermediateViews
 
Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator
generatedSQLDefinitions
 
Constructor Summary
MultipleCSOperator()
           
 
Method Summary
 Columnset[] generateColumnSetsForOp(boolean lazy)
          Abstract method to be implemented by subclasses.
protected  java.lang.String handleExtraOutputFeature(Feature outputFeature, Columnset csForOuputConcept)
          The standard handling of extra output features is printing out a warning.
abstract  int numberOfColumnSets()
          Must return the number of ColumnSets this operator will produce.
 
Methods inherited from class edu.udo.cs.miningmart.operator.ConceptOperator
compileStatement, createMetadata, createMetadataForOneBA, createSingleColumnSet, createStatement, generateColumns, generateSQLDefinition, getInputConcept, getNewCSName, getOutputConcept, getStringForSelection, getTypeOfNewColumnSet, mustCopyFeature, setNewCSMultiStepBranch
 
Methods inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator
autoPrint, checkConditions, doPrint, doPrint, execute, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getArtificalColumnName, getBusinessDbms, getHighestLoopNr, getM4Db, getM4Dbms, getM4ObjectFromCache, getName, getNextM4SequenceValue, getNumberOfLoops, getOperator, getOpParamsIterator, getParameter, getParameter, getParameterObjectsOfAllLoops, getSingleParameter, getSingleParameter, getStep, giveWarningForChangedInputData, handleAssertions, isDeselectedParameter, isLoopable, isManual, isStepable, load, print, putM4ObjectToCache, showCreateStatement, storedProceduresAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleCSOperator

public MultipleCSOperator()
Method Detail

numberOfColumnSets

public abstract int numberOfColumnSets()
                                throws M4CompilerError
Must return the number of ColumnSets this operator will produce.

Returns:
the number of Columnsets this operator will produce
Throws:
M4CompilerError

generateColumnSetsForOp

public Columnset[] generateColumnSetsForOp(boolean lazy)
                                    throws M4CompilerError,
                                           M4CompilerWarning
Description copied from class: ConceptOperator
Abstract method to be implemented by subclasses.

Specified by:
generateColumnSetsForOp in class ConceptOperator
Returns:
An array of ColumnSet objects
Throws:
M4CompilerError
M4CompilerWarning
See Also:
edu.udo.cs.miningmart.m4.core.operator.ConceptOperator#generateColumnSetsForOp

handleExtraOutputFeature

protected java.lang.String handleExtraOutputFeature(Feature outputFeature,
                                                    Columnset csForOuputConcept)
                                             throws M4CompilerError
The standard handling of extra output features is printing out a warning. Subclasses may overwrite this method.

Specified by:
handleExtraOutputFeature in class ConceptOperator
Parameters:
outputFeature - Feature to be dealt with
csForOuputConcept - Columnset that was created for the output concept
Returns:
a String with a column definition
Throws:
M4CompilerError


Copyright © 2001-2005