public class LargeStreamProcessor 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 |
|---|
LargeStreamProcessor(String baseURI,
List<String> datasetList,
boolean genQualityReport,
com.hp.hpl.jena.rdf.model.Model configuration) |
LargeStreamProcessor(String baseURI,
String datasetURI,
boolean genQualityReport,
com.hp.hpl.jena.rdf.model.Model configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelMetricAssessment()
Cancels the metric assessment and closes all
open threads
|
void |
cleanUp()
Cleans up memory from unused objects after processing is finished
|
List<IOStats> |
getIOStats()
Returns statistics related to the IO processor
such as the number of processed statements
|
void |
processorWorkFlow()
A workflow initiating the whole assessment process.
|
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 LargeStreamProcessor(String baseURI, String datasetURI, boolean genQualityReport, com.hp.hpl.jena.rdf.model.Model configuration)
public void processorWorkFlow()
IOProcessorprocessorWorkFlow in interface IOProcessorpublic 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 IOProcessorpublic List<IOStats> getIOStats() throws ProcessorNotInitialised
IOProcessorgetIOStats in interface IOProcessorProcessorNotInitialisedpublic void cancelMetricAssessment()
throws ProcessorNotInitialised
IOProcessorcancelMetricAssessment in interface IOProcessorProcessorNotInitialisedCopyright © 2017 Enterprise Information Systems - University of Bonn. All rights reserved.