edu.udo.cs.miningmart.operator
Class RowSelectionByQuery

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.RowSelection
                  extended byedu.udo.cs.miningmart.operator.RowSelectionByQuery

public final class RowSelectionByQuery
extends RowSelection

Version:
$Id: RowSelectionByQuery.java,v 1.6 2006/04/11 14:10:12 euler Exp $
Author:
Timm Euler

Field Summary
 
Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator
generatedSQLDefinitions
 
Constructor Summary
RowSelectionByQuery()
           
 
Method Summary
 EstimatedStatistics estimateStatistics(Step theStep)
          Abstract method for estimating statistics for a concept.
 java.lang.String generateConditionForOp()
          Abstract method to be implemented by all subclasses.
 java.lang.String getTheConditionOperator(int loopNr)
           
 BaseAttribute getTheLeftCondition(int loopNr)
           
 Value getTheRightCondition(int loopNr)
           
 
Methods inherited from class edu.udo.cs.miningmart.operator.RowSelection
generateSQLDefinition, getTypeOfNewColumnSet, mustCopyFeature
 
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, createSingleColumnSet, createStatement, 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

RowSelectionByQuery

public RowSelectionByQuery()
Method Detail

generateConditionForOp

public java.lang.String generateConditionForOp()
                                        throws M4CompilerError
Description copied from class: RowSelection
Abstract method to be implemented by all subclasses. Must return the String for the WHERE part of the SQL definition of the output columnset.

Specified by:
generateConditionForOp in class RowSelection
Returns:
the WHERE condition
Throws:
M4CompilerError

estimateStatistics

public EstimatedStatistics estimateStatistics(Step theStep)
                                       throws M4Exception
Description copied from class: ExecutableOperator
Abstract method for estimating statistics for a concept. The realisation of this method depends on the type of operator that is connected to the step that creates the concept whose statistics are to be estimated. Therefore the implementation is done in this class and its subclasses.

Overrides:
estimateStatistics in class ConceptOperator
Throws:
M4Exception
See Also:
ExecutableOperator.estimateStatistics(Step)

getTheLeftCondition

public BaseAttribute getTheLeftCondition(int loopNr)
                                  throws M4CompilerError
Throws:
M4CompilerError

getTheConditionOperator

public java.lang.String getTheConditionOperator(int loopNr)
                                         throws M4CompilerError
Throws:
M4CompilerError

getTheRightCondition

public Value getTheRightCondition(int loopNr)
                           throws M4CompilerError
Throws:
M4CompilerError


Copyright © 2001-2005