|
||||||||||
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.JoinByKey
This operator joins several concepts using their specified keys. The output is one concept.
Field Summary |
Fields inherited from class edu.udo.cs.miningmart.operator.ExecutableOperator |
generatedSQLDefinitions |
Constructor Summary | |
JoinByKey()
|
Method Summary | |
protected java.lang.String |
createMetadataForOneBA(BaseAttribute inBA,
BaseAttribute outBA,
Columnset csForOutputConcept,
java.lang.String columnExpr)
Overrides the superclass method because here a mapping is used. |
protected java.lang.String |
generateColumns(Columnset csForOutputConcept)
This method is overridden because the copying of columns from input to output concept works differently for this operator. |
java.lang.String |
generateSQLDefinition(java.lang.String selectPart)
This method must return the SQL definition of the newly created ColumnSet. |
protected Feature[][] |
getInOutMap()
Getter method for the mapping parameters. |
Concept |
getInputConcept()
This method overrides the superclass method, so that it can still be used, although this operator has more than one input concept. |
protected Concept[] |
getSortedConcepts()
Gets the parameters "TheConcepts". |
protected BaseAttribute[] |
getSortedKeys()
Gets the primary keys of TheConcepts. |
java.lang.String |
getTypeOfNewColumnSet()
This method must return the entry String for the M4 table "Columnset_t", indicating whether the new Columnset is a view or a table. |
void |
load(Step st)
Loads all parameters for this operator. |
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. |
protected void |
setNewCSMultiStepBranch(Columnset newCS,
int index)
MultiStepBranch information of all Concepts need to be merged. |
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, createSingleColumnSet, createStatement, estimateStatistics, getNewCSName, getOutputConcept, getStringForSelection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JoinByKey()
Method Detail |
public java.lang.String getTypeOfNewColumnSet()
SingleCSOperator
getTypeOfNewColumnSet
in class SingleCSOperator
edu.udo.cs.miningmart.m4.core.operator.SingleCSOperator#getTypeOfNewColumnSet()
public java.lang.String generateSQLDefinition(java.lang.String selectPart) throws M4CompilerError
SingleCSOperator
generateSQLDefinition
in class SingleCSOperator
selectPart
- The SQL string between "SELECT" and "FROM" for the
SQL definition to be returned.
M4CompilerError
edu.udo.cs.miningmart.m4.core.operator.SingleCSOperator#generateSQLDefinition(String)
protected java.lang.String generateColumns(Columnset csForOutputConcept) throws M4CompilerError
generateColumns
in class ConceptOperator
csForOutputConcept
- The ColumnSet for which Columns are to be produced.
M4CompilerError
edu.udo.cs.miningmart.m4.core.operator.ConceptOperator(Columnset)
protected java.lang.String createMetadataForOneBA(BaseAttribute inBA, BaseAttribute outBA, Columnset csForOutputConcept, java.lang.String columnExpr) throws M4CompilerError
createMetadataForOneBA
in class ConceptOperator
inBA
- A BaseAttribute from the input conceptoutBA
- The corresponding BaseAttribute from the output conceptcsForOutputConcept
- The current Columnset from the output concept
M4CompilerError
miningmart.compiler.operator.ConceptOperator#createMetadataForOneBA(BaseAttribute,BaseAttribute,Columnset,String)
protected void setNewCSMultiStepBranch(Columnset newCS, int index) throws M4CompilerError
Unsegment
operator, the MultiStepBranch-String
s of all Columnset
s
are sorted before merging them. Multiple occurences of the same attribute are
not supported; after the first occurence of an attribute each further occurence
is removed.
setNewCSMultiStepBranch
in class ConceptOperator
newCS
- the Columnset that is created by this operatorindex
- An index for MulipleCSOperators.
M4CompilerError
ConceptOperator.setNewCSMultiStepBranch(Columnset, int)
,
ConceptOperator.createSingleColumnSet(int)
public Concept getInputConcept()
getInputConcept
in class ConceptOperator
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)
protected Concept[] getSortedConcepts()
protected BaseAttribute[] getSortedKeys()
protected Feature[][] getInOutMap() throws M4CompilerError
M4CompilerError
public void load(Step st) throws ParameterDeselectedError, M4CompilerError
ExecutableOperator
load
in class ExecutableOperator
st
- This executable operator's step
ParameterDeselectedError
M4CompilerError
Operator#load(Step)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |