edu.udo.cs.miningmart.operator
Class SignalToSymbolProcessing

java.lang.Object
  extended byedu.udo.cs.miningmart.operator.ExecutableOperator
      extended byedu.udo.cs.miningmart.operator.ConceptOperator
          extended byedu.udo.cs.miningmart.operator.SingleCSOperator
              extended byedu.udo.cs.miningmart.operator.TimeOperator
                  extended byedu.udo.cs.miningmart.operator.SignalToSymbolProcessing

public class SignalToSymbolProcessing
extends TimeOperator

Version:
$Id: SignalToSymbolProcessing.java,v 1.5 2006/04/11 14:10:11 euler Exp $
Author:
Martin Scholz

Field Summary
 
Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator
generatedSQLDefinitions
 
Constructor Summary
SignalToSymbolProcessing()
           
 
Method Summary
protected  void createJavaColumns(Columnset newCS)
          This method needs to create the M4 JAVA objects for the new columns and has to link these objects to the base attributes (and vice versa).
 BaseAttribute getAverageValueBA()
           
protected  java.lang.String getColumnSetSuffix()
           
 BaseAttribute getIncreaseValueBA()
           
 BaseAttribute getTimeBaEndOut()
           
 BaseAttribute getTimeBaIn()
           
 BaseAttribute getTimeBaStartOut()
           
 Value getTolerance()
           
 BaseAttribute getValueBaIn()
           
protected  void runStoredProcedure(java.lang.String newColumnsetName)
          This method calls the stored procedure in the database.
 
Methods inherited from class edu.udo.cs.miningmart.operator.TimeOperator
baseattribHasColumns, createM4Column, createSingleColumnSet, executeDbProcedure, generateSQLDefinition, getQuotedColNameforInpBA, getQuotedColNameforOutBA, getQuotedColSetNameforCon, getTypeOfNewColumnSet, getUnquotedIntFromValue, mustCopyFeature, unquote, valueIsDouble, valueIsLong
 
Methods inherited from class edu.udo.cs.miningmart.operator.SingleCSOperator
generateColumnSetsForOp, generateSQLDefinition, getNewCSName, getTypeOfNewColumnSet
 
Methods inherited from class edu.udo.cs.miningmart.operator.ConceptOperator
compileStatement, createMetadata, createMetadataForOneBA, createStatement, estimateStatistics, generateColumns, getInputConcept, getNewCSName, getOutputConcept, getStringForSelection, 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, getSingleParameter, getSingleParameter, getStep, 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

SignalToSymbolProcessing

public SignalToSymbolProcessing()
Method Detail

getColumnSetSuffix

protected java.lang.String getColumnSetSuffix()
Specified by:
getColumnSetSuffix in class TimeOperator
Returns:
the suffix added to the concept name to get the name of the new column set

getTimeBaIn

public BaseAttribute getTimeBaIn()
                          throws M4CompilerError
Throws:
M4CompilerError

getValueBaIn

public BaseAttribute getValueBaIn()
                           throws M4CompilerError
Throws:
M4CompilerError

getTimeBaStartOut

public BaseAttribute getTimeBaStartOut()
                                throws M4CompilerError
Throws:
M4CompilerError

getTimeBaEndOut

public BaseAttribute getTimeBaEndOut()
                              throws M4CompilerError
Throws:
M4CompilerError

getAverageValueBA

public BaseAttribute getAverageValueBA()
                                throws M4CompilerError
Throws:
M4CompilerError

getIncreaseValueBA

public BaseAttribute getIncreaseValueBA()
                                 throws M4CompilerError
Throws:
M4CompilerError

getTolerance

public Value getTolerance()
                   throws M4CompilerError
Throws:
M4CompilerError

createJavaColumns

protected void createJavaColumns(Columnset newCS)
                          throws java.sql.SQLException,
                                 M4CompilerError
Description copied from class: TimeOperator
This method needs to create the M4 JAVA objects for the new columns and has to link these objects to the base attributes (and vice versa). Additionally the new columns need to be linked to the column set (and vice versa). If an operator creates base attributes by a kind of template mechanism, then the links of these objects to the concept should be set here, as well.

Specified by:
createJavaColumns in class TimeOperator
Parameters:
newCS - the new column set generated by this operator
Throws:
java.sql.SQLException
M4CompilerError

runStoredProcedure

protected void runStoredProcedure(java.lang.String newColumnsetName)
                           throws java.sql.SQLException,
                                  M4CompilerError,
                                  TimeOperatorException
Description copied from class: TimeOperator
This method calls the stored procedure in the database. It passes all the involved table and column names to the stored procedure, which creates a new table for the results.

Specified by:
runStoredProcedure in class TimeOperator
Parameters:
newColumnsetName - the name of the table to be created for the results
Throws:
java.sql.SQLException
M4CompilerError
TimeOperatorException


Copyright © 2001-2005