edu.udo.cs.miningmart.operator
Class GenericFeatureConstruction

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

public class GenericFeatureConstruction
extends FeatureConstruction

This operator constructs a new feature by using SQL code (provided by the parameter sql_string) for the column definition for the new feature.

Version:
$Id: GenericFeatureConstruction.java,v 1.5 2006/04/11 14:10:11 euler Exp $
Author:
Timm Euler

Constructor Summary
GenericFeatureConstruction()
           
 
Method Summary
 java.lang.String generateSQL(Column targetColumn)
          Abstract method to be implemented by all subclasses.
 java.lang.String getSqlString()
           
 
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

GenericFeatureConstruction

public GenericFeatureConstruction()
Method Detail

generateSQL

public java.lang.String generateSQL(Column targetColumn)
                             throws M4CompilerError
Description copied from class: FeatureConstruction
Abstract method to be implemented by all subclasses. In this method the SQL definition for the Column which this operator creates is created.

Specified by:
generateSQL in class FeatureConstruction
Parameters:
targetColumn - The Column to which this FeatureConstruction Operator is applied. Some subclasses may ignore this parameter.
Returns:
An SQL definition for the newly constructed Column.
Throws:
M4CompilerError - A simple exception object with an error message.
See Also:
edu.udo.cs.miningmart.m4.core.operator.FeatureConstruction#generateSQL(Column)

getSqlString

public java.lang.String getSqlString()
                              throws M4CompilerError
Returns:
the parameter "SQL_String" as a String
Throws:
M4CompilerError


Copyright © 2001-2005