|
||||||||||
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.UnionByKey
UnionByKey operator takes as an input concepts and selected features from these conpcepts. Then it creates the output concept containing the data found in all the input concepts by joining concepts' columnsets according to the specified key attributes. It is useful in a situation that we would like to gather the data not only for the common to all the input concepts subset of keys, as it is in case of JoinByKey operator. The columnset generated for the output concept is of type table!
Field Summary |
Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator |
generatedSQLDefinitions |
Constructor Summary | |
UnionByKey()
|
Method Summary | |
protected java.lang.String |
generateColumns(Columnset csForOutputConcept)
Overrides the superclass method because the mapping is used. |
java.lang.String |
generateSQLDefinition(java.lang.String selectPart)
SQL definition of the table created for the output concept is simply the name of this table. |
protected Feature[][] |
getInOutMap()
Getter method for the mapping parameters. |
Concept |
getInputConcept()
TheInputConcept now is the first concept of the loaded list. |
BaseAttribute |
getOutputIdAttribute()
Tries to find the key of the output concept. |
Concept[] |
getTheConcepts()
|
BaseAttribute[] |
getTheKeys()
|
java.lang.String |
getTypeOfNewColumnSet()
Always returns 'T' as the new columnset is a table |
void |
load(Step st)
Loads all parameters for this operator. |
protected boolean |
mustCopyFeature(java.lang.String nameOfFeature)
It is never called. |
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, 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 UnionByKey()
Method Detail |
public Concept[] getTheConcepts() throws M4CompilerError
M4CompilerError
public BaseAttribute[] getTheKeys() throws M4CompilerError
M4CompilerError
protected Feature[][] getInOutMap() throws M4CompilerError
M4CompilerError
public BaseAttribute getOutputIdAttribute() throws M4CompilerError
M4CompilerError
- if no key can be identifiedpublic void load(Step st) throws ParameterDeselectedError, M4CompilerError
ExecutableOperator
load
in class ExecutableOperator
st
- This executable operator's step
ParameterDeselectedError
M4CompilerError
public Concept getInputConcept() throws M4CompilerError
getInputConcept
in class ConceptOperator
M4CompilerError
public java.lang.String getTypeOfNewColumnSet()
getTypeOfNewColumnSet
in class SingleCSOperator
edu.udo.cs.miningmart.m4.core.operator.ConceptOperator#getTypeOfNewColumnSet
protected boolean mustCopyFeature(java.lang.String nameOfFeature)
mustCopyFeature
in class ConceptOperator
nameOfFeature
- Name of the feature in question.
public java.lang.String generateSQLDefinition(java.lang.String selectPart) throws M4CompilerError
generateSQLDefinition
in class SingleCSOperator
selectPart
- The SQL string between "SELECT" and "FROM" for the
SQL definition to be returned.
M4CompilerError
protected java.lang.String generateColumns(Columnset csForOutputConcept) throws M4CompilerError
generateColumns
in class ConceptOperator
csForOutputConcept
- The ColumnSet for which Columns are to be produced.
M4CompilerError
miningmart.operator.ConceptOperator#generateColumns(Columnset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |