public class StreamProcessor extends Object implements IOProcessor
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jena.riot.lang.PipedRDFIterator<?> |
iterator |
protected org.apache.jena.riot.lang.PipedRDFStream<?> |
rdfStream |
| Constructor and Description |
|---|
StreamProcessor(String datasetURI,
boolean genQualityReport,
com.hp.hpl.jena.rdf.model.Model configuration) |
StreamProcessor(String baseURI,
List<String> datasetList,
boolean genQualityReport,
com.hp.hpl.jena.rdf.model.Model configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Cleans up memory from unused objects after processing is finished
|
void |
processorWorkFlow() |
com.hp.hpl.jena.rdf.model.Model |
retreiveQualityReport() |
void |
setUpProcess()
Initialise the io processor with the necessary in-memory objects and metrics
|
void |
startProcessing()
Process the dataset for quality assessment
|
protected org.apache.jena.riot.lang.PipedRDFIterator<?> iterator
protected org.apache.jena.riot.lang.PipedRDFStream<?> rdfStream
public StreamProcessor(String datasetURI, boolean genQualityReport, com.hp.hpl.jena.rdf.model.Model configuration)
public void processorWorkFlow()
public void setUpProcess()
IOProcessorsetUpProcess in interface IOProcessorpublic void cleanUp()
throws ProcessorNotInitialised
IOProcessorcleanUp in interface IOProcessorProcessorNotInitialisedpublic void startProcessing()
throws ProcessorNotInitialised
IOProcessorstartProcessing in interface IOProcessorProcessorNotInitialisedpublic com.hp.hpl.jena.rdf.model.Model retreiveQualityReport()
retreiveQualityReport in interface IOProcessorCopyright © 2015 Enterprise Information Systems - University of Bonn. All rights reserved.