|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.miningmart.operator.ExecutableOperator
edu.udo.cs.miningmart.operator.FeatureConstruction
This class is the superclass for all operators whose output
is a BaseAttribute. It implements the loop mechanism for these
operators. Use the method getCurrentLoopNumber()
to learn the number of the loop in which your operator is applied.
Constructor Summary | |
FeatureConstruction()
|
Method Summary | |
void |
compileStatement()
Abstract method for compiling the generated sql-statement. |
void |
createStatement(boolean lazy)
Abstract method for generating an sql-statement. |
EstimatedStatistics |
estimateStatistics(Step theStep)
Abstract method for estimating statistics for a concept. |
void |
execute(boolean lazy)
Execute everything to be done to compile an operator. |
Column |
generateColumnForOp()
Method to generate the new Column that all FeatureConstruction operators create. |
abstract java.lang.String |
generateSQL(Column targetColumn)
Abstract method to be implemented by all subclasses. |
int |
getCurrentLoopNumber()
Get the current loop number. |
Concept |
getTheInputConcept()
All FeatureConstruction operators have an input concept which is the same in all loops. |
BaseAttribute |
getTheOutputAttribute()
All FeatureConstruction operators have an output BaseAttribute which is different from loop to loop. |
BaseAttribute |
getTheOutputAttribute(int loopNr)
All FeatureConstruction operators have an output attribute which is different from loop to loop. |
BaseAttribute |
getTheTargetAttribute()
All FeatureConstruction operators have a target attribute which is different from loop to loop. |
BaseAttribute |
getTheTargetAttribute(int loopNr)
All FeatureConstruction operators have a target attribute which is different from loop to loop. |
void |
load(Step st)
Load method to load all parameters for this operator. |
void |
writeResults()
Deprecated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FeatureConstruction()
Method Detail |
public void load(Step st) throws M4CompilerError
load
in class ExecutableOperator
st
- the step this operator is applied in
M4CompilerError
public void execute(boolean lazy) throws UserError, M4CompilerWarning, M4CompilerError, M4Exception, java.sql.SQLException
ExecutableOperator
execute
in class ExecutableOperator
lazy
- If TRUE, run the operator in lazy mode
UserError
M4CompilerError
java.sql.SQLException
M4Exception
M4CompilerWarning
edu.udo.cs.miningmart.m4.core.operator.Operator#execute
public void createStatement(boolean lazy) throws java.sql.SQLException, M4CompilerWarning, M4CompilerError
ExecutableOperator
createStatement
in class ExecutableOperator
lazy
- If TRUE, run in lazy mode: create atmost one output
ColumnSet
java.sql.SQLException
M4CompilerWarning
M4CompilerError
edu.udo.cs.miningmart.m4.core.operator.Operator#createStatement
public void compileStatement() throws java.sql.SQLException, M4CompilerWarning, M4CompilerError
ExecutableOperator
compileStatement
in class ExecutableOperator
java.sql.SQLException
M4CompilerWarning
M4CompilerError
edu.udo.cs.miningmart.m4.core.operator.Operator#compileStatement
public void writeResults()
public EstimatedStatistics estimateStatistics(Step theStep) throws M4Exception
ExecutableOperator
estimateStatistics
in class ExecutableOperator
theStep
- the step that creates the output concept whose statistics
are to be estimated
EstimatedStatistics
object, some of whose values
may or may not be available, depending on whether they could be guessed
or inferred.
M4Exception
ExecutableOperator.estimateStatistics(Step)
public Column generateColumnForOp() throws M4CompilerError
generateSQL()
.
M4CompilerError
- A simple exception object with an error message.public abstract java.lang.String generateSQL(Column targetColumn) throws M4CompilerError
targetColumn
- The Column to which this FeatureConstruction Operator
is applied. Some subclasses may ignore this parameter.
M4CompilerError
- A simple exception object with an error message.public int getCurrentLoopNumber()
public Concept getTheInputConcept() throws M4CompilerError
M4CompilerError
public BaseAttribute getTheOutputAttribute() throws M4CompilerError
M4CompilerError
public BaseAttribute getTheTargetAttribute() throws M4CompilerError
M4CompilerError
public BaseAttribute getTheOutputAttribute(int loopNr) throws M4CompilerError
loopNr
- the number of the loop for which the output attribute is wanted
M4CompilerError
public BaseAttribute getTheTargetAttribute(int loopNr) throws M4CompilerError
loopNr
- the number of the loop for which the target attribute is wanted
M4CompilerError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |