|
||||||||||
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.ConceptOperator
edu.udo.cs.miningmart.operator.MultipleCSOperator
edu.udo.cs.miningmart.operator.Segmentation
This is the abstract super class for all Segmentation operators.
Field Summary |
Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator |
generatedSQLDefinitions |
Constructor Summary | |
Segmentation()
|
Method Summary | |
abstract java.lang.String |
generateConditionForOp(int columnSetIndex)
Abstract method to be implemented by all Segmentation operators. |
java.lang.String |
generateSQLDefinition(java.lang.String selectPart,
int index)
This method must return the SQL definition of the newly created ColumnSet. |
java.lang.String |
getTypeOfNewColumnSet(int index)
This method must return the entry String for the M4 table "Columnset_t", indicating whether the new Columnset is a view or a table. |
protected boolean |
mustCopyFeature(java.lang.String nameOfFeature)
This method is for operators that do not copy all Features of the input concept to the output concept. |
int |
numberOfColumnSets()
Must return the number of ColumnSets this operator will produce. |
abstract int |
numberOfSegments()
Abstract method to be implemented by all Segmentation operators. |
abstract void |
setCSSegmentInfo(java.lang.String inputMultiStepBranch,
Columnset cs,
int index)
Abstract method to be implemented by all Segmentation operators. |
protected void |
setNewCSMultiStepBranch(Columnset newCS,
int index)
Overrides the corresponding method of class ConceptOperator .
|
Methods inherited from class edu.udo.cs.miningmart.operator.MultipleCSOperator |
generateColumnSetsForOp |
Methods inherited from class edu.udo.cs.miningmart.operator.ConceptOperator |
compileStatement, createMetadata, createMetadataForOneBA, createSingleColumnSet, createStatement, estimateStatistics, generateColumns, getInputConcept, getNewCSName, getOutputConcept, getStringForSelection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Segmentation()
Method Detail |
public java.lang.String generateSQLDefinition(java.lang.String selectPart, int index) throws M4CompilerError
ConceptOperator
generateSQLDefinition
in class ConceptOperator
selectPart
- The String for the SELECT-part of the SQL definition to
be created.index
- An index for MultipleCSOperators.
M4CompilerError
edu.udo.cs.miningmart.m4.core.operator.ConceptOperator#generateSQLDefinition(String, int)
public java.lang.String getTypeOfNewColumnSet(int index)
ConceptOperator
getTypeOfNewColumnSet
in class ConceptOperator
index
- An index for MulipleCSOperators.
edu.udo.cs.miningmart.m4.core.operator.ConceptOperator#getTypeOfNewColumnSet(int)
protected boolean mustCopyFeature(java.lang.String nameOfFeature)
ConceptOperator
mustCopyFeature
in class ConceptOperator
nameOfFeature
- Name of the feature in question.
edu.udo.cs.miningmart.m4.core.operator.ConceptOperator#mustCopyFeature(String)
public int numberOfColumnSets() throws M4CompilerError
MultipleCSOperator
numberOfColumnSets
in class MultipleCSOperator
M4CompilerError
edu.udo.cs.miningmart.m4.core.operator.MultipleCSOperator#numberOfColumnSets
protected void setNewCSMultiStepBranch(Columnset newCS, int index) throws M4CompilerError
ConceptOperator
.
This is done in order to extend the information on multi step branching,
underlying the generation of the Columnset
.
setNewCSMultiStepBranch
in class ConceptOperator
newCS
- the Columnset that is created by this operatorindex
- An index for MulipleCSOperators.
M4CompilerError
edu.udo.cs.miningmart.m4.core.operator.ConceptOperator#setNewCSMultiStepBranch
public abstract java.lang.String generateConditionForOp(int columnSetIndex) throws M4CompilerError
columnSetIndex
- The number of the columnset for which the condition is to
be generated
M4CompilerError
public abstract int numberOfSegments() throws M4CompilerError
M4CompilerError
public abstract void setCSSegmentInfo(java.lang.String inputMultiStepBranch, Columnset cs, int index) throws M4CompilerError
inputMultiStepBranch
- the multistep information of the input columnsetcs
- the current output columnsetindex
- the index of the output columnset
M4CompilerError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |