edu.udo.cs.miningmart.operator.uep
Class Grouping

java.lang.Object
  extended byedu.udo.cs.miningmart.operator.ExecutableOperator
      extended byedu.udo.cs.miningmart.operator.FeatureConstruction
          extended byedu.udo.cs.miningmart.operator.uep.Grouping
Direct Known Subclasses:
ErrorBasedGroupingGivenMinCardinality, ErrorBasedGroupingGivenNoOfGroups, GroupingGivenMinCardinality, GroupingGivenNoOfGroups, ImplicitErrorBasedGrouping, UserDefinedGrouping, UserDefinedGroupingWithDefaultValue

public abstract class Grouping
extends FeatureConstruction

M4 Compiler

Copyright: Copyright (c) 2002

Company: University Dortmund

Version:
$Id: Grouping.java,v 1.6 2006/04/11 14:10:18 euler Exp $
Author:
Felix Koschin

Constructor Summary
Grouping()
           
 
Method Summary
 java.lang.String[] generateLabels(int num)
           
 java.lang.String generateSQL(Column theTargetAttributeColumn)
          Abstract method to be implemented by all subclasses.
protected  boolean useQuotes(Column targetAttribCol)
           
 
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

Grouping

public Grouping()
Method Detail

generateLabels

public java.lang.String[] generateLabels(int num)
                                  throws M4CompilerError
Throws:
M4CompilerError

generateSQL

public java.lang.String generateSQL(Column theTargetAttributeColumn)
                             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:
theTargetAttributeColumn - 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.

useQuotes

protected boolean useQuotes(Column targetAttribCol)
                     throws M4Exception
Throws:
M4Exception


Copyright © 2001-2005