|
||||||||||
| 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.SingleCSOperator
edu.udo.cs.miningmart.operator.RowSelection
edu.udo.cs.miningmart.operator.RowSelectionByRandomSampling
This operator randomly selects rows with a probability that is computed such that roughly as many rows are selected as are given in the parameter HowMany.
| Field Summary |
| Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator |
generatedSQLDefinitions |
| Constructor Summary | |
RowSelectionByRandomSampling()
|
|
| Method Summary | |
java.lang.String |
generateConditionForOp()
Abstract method to be implemented by all subclasses. |
java.lang.String |
generateSQLDefinition(java.lang.String selectPart)
Overrides the method from RowSelection because an own definition format is needed. |
int |
getHowMany()
|
java.lang.String |
getTypeOfNewColumnSet()
Overrides the method from RowSelection because for Sampling a table is more efficient. |
| Methods inherited from class edu.udo.cs.miningmart.operator.RowSelection |
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, estimateStatistics, generateColumns, getInputConcept, getNewCSName, getOutputConcept, getStringForSelection, setNewCSMultiStepBranch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RowSelectionByRandomSampling()
| Method Detail |
public java.lang.String generateSQLDefinition(java.lang.String selectPart)
throws M4CompilerError
generateSQLDefinition in class RowSelectionM4CompilerErroredu.udo.cs.miningmart.m4.core.operator.SingleCSOperator#generateSQLDefinition(String),
edu.udo.cs.miningmart.m4.core.operator.RowSelection#generateSQLDefinition(String)public java.lang.String generateConditionForOp()
RowSelection
generateConditionForOp in class RowSelectionpublic java.lang.String getTypeOfNewColumnSet()
getTypeOfNewColumnSet in class RowSelectionedu.udo.cs.miningmart.m4.core.operator.ConceptOperator#getTypeOfNewColumnSet(int)
public int getHowMany()
throws M4CompilerError
M4CompilerError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||