ValueType - the value typeRecordType - the type that represents a recordSchemaElementType - the type that represents a schema elementpublic class FusedValue<ValueType,RecordType extends Matchable & Fusible<SchemaElementType>,SchemaElementType extends Matchable> extends Object
| Constructor and Description | 
|---|
FusedValue(FusibleValue<ValueType,RecordType,SchemaElementType> value)
Creates a fused value with the original record and dataset as provenance
 information 
 | 
FusedValue(ValueType value)
Creates a fused value without any provenance information 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addOriginalRecord(FusibleValue<ValueType,RecordType,SchemaElementType> value)
Adds an original record as provenance information 
 | 
void | 
addOriginalRecord(RecordType record,
                 FusibleDataSet<RecordType,SchemaElementType> dataset)
Adds an original record as provenance information 
 | 
Collection<String> | 
getOriginalIds()  | 
Map<RecordType,FusibleDataSet<RecordType,SchemaElementType>> | 
getOriginalRecords()  | 
ValueType | 
getValue()  | 
public FusedValue(ValueType value)
value - the valuepublic FusedValue(FusibleValue<ValueType,RecordType,SchemaElementType> value)
value - the valuepublic ValueType getValue()
public Map<RecordType,FusibleDataSet<RecordType,SchemaElementType>> getOriginalRecords()
public Collection<String> getOriginalIds()
public void addOriginalRecord(RecordType record, FusibleDataSet<RecordType,SchemaElementType> dataset)
record - the recorddataset - the dataset that contains the recordpublic void addOriginalRecord(FusibleValue<ValueType,RecordType,SchemaElementType> value)
value - the value that was generated from the original recordCopyright © 2018. All rights reserved.