edu.udo.cs.miningmart.operator
Class TimeIntervalManualDiscretization

java.lang.Object
  extended byedu.udo.cs.miningmart.operator.ExecutableOperator
      extended byedu.udo.cs.miningmart.operator.FeatureConstruction
          extended byedu.udo.cs.miningmart.operator.Discretization
              extended byedu.udo.cs.miningmart.operator.ManualDiscretization
                  extended byedu.udo.cs.miningmart.operator.TimeIntervalManualDiscretization

public class TimeIntervalManualDiscretization
extends ManualDiscretization

The class TimeIntervalManualDiscretization implements method generateSQL creating virtual column definition for discretization of numerical intervals according to given discretization specification. NOTE: Physical database table is created, containing the specification. It does not correspond to any M4 ColumnSet object.

Version:
$Id: TimeIntervalManualDiscretization.java,v 1.5 2006/04/11 14:10:11 euler Exp $
Author:
Cezary Chudzian

Field Summary
 
Fields inherited from class edu.udo.cs.miningmart.operator.ManualDiscretization
INTERVAL_EXCLUSION, INTERVAL_INCLUSION
 
Constructor Summary
TimeIntervalManualDiscretization()
           
 
Method Summary
 java.lang.String generateSQL(Column theTargetAttributeColumn)
          Generates a sql-function to describe a new column.
 Value getTimeFormat()
           
 
Methods inherited from class edu.udo.cs.miningmart.operator.ManualDiscretization
getCurrentLoopNumber, getDefaultValue, getDiscTableName, getEndIncExc, getGreater, getIntervalEnd, getIntervalStart, getMapTo, getSmaller, getStartIncExc, load
 
Methods inherited from class edu.udo.cs.miningmart.operator.FeatureConstruction
compileStatement, createStatement, estimateStatistics, execute, generateColumnForOp, getTheInputConcept, getTheOutputAttribute, getTheOutputAttribute, getTheTargetAttribute, getTheTargetAttribute, 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

TimeIntervalManualDiscretization

public TimeIntervalManualDiscretization()
Method Detail

getTimeFormat

public Value getTimeFormat()
                    throws M4CompilerError
Throws:
M4CompilerError

generateSQL

public java.lang.String generateSQL(Column theTargetAttributeColumn)
                             throws M4CompilerError
Generates a sql-function to describe a new column. This method generates a sql-function to describe a new column. Also creates the discretization table.

Specified by:
generateSQL in class ManualDiscretization
Returns:
the SQL-function call
Throws:
M4CompilerError


Copyright © 2001-2005