RecordType - the type that represents a recordpublic abstract class AttributeFuser<RecordType extends Matchable & Fusible<SchemaElementType>,SchemaElementType extends Matchable> extends Object
| Constructor and Description | 
|---|
AttributeFuser()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
fuse(RecordGroup<RecordType,SchemaElementType> group,
    RecordType fusedRecord,
    Processable<Correspondence<SchemaElementType,Matchable>> schemaCorrespondences,
    SchemaElementType schemaElement)
fuses the group of records and assigns values to the fused Record 
 | 
abstract Double | 
getConsistency(RecordGroup<RecordType,SchemaElementType> group,
              EvaluationRule<RecordType,SchemaElementType> rule,
              Processable<Correspondence<SchemaElementType,Matchable>> schemaCorrespondences,
              SchemaElementType schemaElement)
Determines if the given group of records has conflicting values 
 | 
AttributeFusionLogger | 
getFusionLog()  | 
abstract boolean | 
hasValue(RecordType record,
        Correspondence<SchemaElementType,Matchable> correspondence)
Determines whether the record has a value for the attribute that is used by this fuser. 
 | 
boolean | 
isCollectDebugResults()  | 
void | 
setCollectDebugResults(boolean collectDebugResults)  | 
void | 
setFusionLog(AttributeFusionLogger fusionLog)  | 
public AttributeFusionLogger getFusionLog()
public void setFusionLog(AttributeFusionLogger fusionLog)
public boolean isCollectDebugResults()
public void setCollectDebugResults(boolean collectDebugResults)
public abstract void fuse(RecordGroup<RecordType,SchemaElementType> group, RecordType fusedRecord, Processable<Correspondence<SchemaElementType,Matchable>> schemaCorrespondences, SchemaElementType schemaElement)
group - the group of values to be fused (input)fusedRecord - the fused record (output)schemaCorrespondences - the schema correspondencesschemaElement - the schema element to fusepublic abstract boolean hasValue(RecordType record, Correspondence<SchemaElementType,Matchable> correspondence)
record - the recordcorrespondence - the correspondence that specifies the schema elementpublic abstract Double getConsistency(RecordGroup<RecordType,SchemaElementType> group, EvaluationRule<RecordType,SchemaElementType> rule, Processable<Correspondence<SchemaElementType,Matchable>> schemaCorrespondences, SchemaElementType schemaElement)
group - the record grouprule - the evaluation ruleschemaCorrespondences - the schema correspondencesschemaElement - the schema elementCopyright © 2018. All rights reserved.