org.datakurator.postprocess.CuratedDataset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kurator-ffdq Show documentation
Show all versions of kurator-ffdq Show documentation
Data quality assertion framework. Provides utilities for capturing provenance data and generation of data quality reports using FFDQ.
package org.datakurator.postprocess;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Created by lowery on 11/21/16.
*/
public class CuratedDataset {
private List records = new ArrayList<>();
private Map fields = new HashMap<>();
public CuratedDataset(Map fields) {
this.fields = fields;
}
public void addRecord(CuratedRecord record) {
records.add(record);
}
public List getRecords() {
return records;
}
public Map getFields() {
return fields;
}
}