|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.miningmart.schemamatching.DataModelMatcher
public class DataModelMatcher
Provides methods to match sets of concepts to sets of concepts.
| Constructor Summary | |
|---|---|
DataModelMatcher(MmSchemaMatcher useThisMatcher)
|
|
| Method Summary | |
|---|---|
static java.util.Collection<Concept> |
addJoinsToCase(Case someCase)
Adds concepts to the given case that represent the results of possible joins in the given case. |
java.util.Collection<MatchingResult<Concept>> |
getDataModelMatching(java.util.Collection<Concept> conceptualModel,
java.util.Collection<Concept> targetModel)
Tries to map as many elements of the conceptual model as possible to the target model. |
boolean |
isSimilarityGoodEnough(double similarity)
|
static Case |
readSchemaToMatch(java.util.Collection<java.lang.String> tableNames,
M4Interface theM4Interface,
java.lang.String nameForTheCase)
Creates a MiningMart case whose concepts and relations represent the given tables/views and the foreign key links between them as declared in the business database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataModelMatcher(MmSchemaMatcher useThisMatcher)
| Method Detail |
|---|
public static java.util.Collection<Concept> addJoinsToCase(Case someCase)
throws M4Exception
someCase - the Case
M4Exception
public java.util.Collection<MatchingResult<Concept>> getDataModelMatching(java.util.Collection<Concept> conceptualModel,
java.util.Collection<Concept> targetModel)
throws SchemaMatchException
conceptualModel - the conceptual data modeltargetModel - the target data modeltheMatcherToUse - instance of MmSchemaMatcher to be used for finding
the similarities
SchemaMatchExceptionpublic boolean isSimilarityGoodEnough(double similarity)
public static Case readSchemaToMatch(java.util.Collection<java.lang.String> tableNames,
M4Interface theM4Interface,
java.lang.String nameForTheCase)
throws M4Exception
tableNames - a collection of names of tables/viewstheM4Interface - the M4 interface that provides access
to the database
M4Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||