edu.udo.cs.miningmart.operator
Class MappingWithDefaultValue

java.lang.Object
  extended byedu.udo.cs.miningmart.operator.ExecutableOperator
      extended byedu.udo.cs.miningmart.operator.FeatureConstruction
          extended byedu.udo.cs.miningmart.operator.Mapping
              extended byedu.udo.cs.miningmart.operator.MappingWithDefaultValue

public class MappingWithDefaultValue
extends Mapping

The class MappingWithDefaultValue maps values for which no mapping has been specified into a constant value It implements abstract method getDefault declared in Mapping.

Version:
$Id: MappingWithDefaultValue.java,v 1.4 2006/04/11 14:10:11 euler Exp $
Author:
Cezary Chudzian
See Also:
Mapping, PartialMapping

Constructor Summary
MappingWithDefaultValue()
           
 
Method Summary
 java.lang.String getDefault(Column theTargetAttributeColumn)
          Method overriding getDefault from Mapping class Argument Column is ignored here!
 Value getDefaultMapping()
           
 
Methods inherited from class edu.udo.cs.miningmart.operator.Mapping
generateSQL, getTheMappings
 
Methods inherited from class edu.udo.cs.miningmart.operator.FeatureConstruction
compileStatement, createStatement, estimateStatistics, execute, generateColumnForOp, getCurrentLoopNumber, getTheInputConcept, getTheOutputAttribute, getTheOutputAttribute, getTheTargetAttribute, getTheTargetAttribute, load, writeResults
 
Methods inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator
autoPrint, checkConditions, doPrint, doPrint, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getArtificalColumnName, getBusinessDbms, getHighestLoopNr, getM4Db, getM4Dbms, getM4ObjectFromCache, getName, getNextM4SequenceValue, getNumberOfLoops, getOperator, getOpParamsIterator, getParameter, getParameter, getSingleParameter, getSingleParameter, getStep, handleAssertions, isDeselectedParameter, isLoopable, isManual, isStepable, print, putM4ObjectToCache, showCreateStatement, storedProceduresAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingWithDefaultValue

public MappingWithDefaultValue()
Method Detail

getDefault

public java.lang.String getDefault(Column theTargetAttributeColumn)
                            throws M4CompilerError
Method overriding getDefault from Mapping class Argument Column is ignored here!

Specified by:
getDefault in class Mapping
Returns:
value to map to if mapping is not specified
Throws:
M4CompilerError

getDefaultMapping

public Value getDefaultMapping()
                        throws M4CompilerError
Throws:
M4CompilerError


Copyright © 2001-2005