public class GZNTMemoryProcessor extends Object implements IOProcessor
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jena.riot.lang.PipedRDFIterator<?> |
iterator |
protected RandomAccessFile |
raf |
protected org.apache.jena.riot.lang.PipedRDFStream<?> |
rdfStream |
| Constructor and Description |
|---|
GZNTMemoryProcessor(String baseURI,
List<String> datasetList,
boolean genQualityReport,
com.hp.hpl.jena.rdf.model.Model configuration) |
GZNTMemoryProcessor(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 RandomAccessFile raf
protected org.apache.jena.riot.lang.PipedRDFIterator<?> iterator
protected org.apache.jena.riot.lang.PipedRDFStream<?> rdfStream
public GZNTMemoryProcessor(String baseURI, String datasetURI, boolean genQualityReport, com.hp.hpl.jena.rdf.model.Model configuration)
public void setUpProcess()
IOProcessorsetUpProcess in interface IOProcessorpublic void startProcessing()
throws ProcessorNotInitialised
IOProcessorstartProcessing in interface IOProcessorProcessorNotInitialisedpublic void cleanUp()
throws ProcessorNotInitialised
IOProcessorcleanUp in interface IOProcessorProcessorNotInitialisedpublic com.hp.hpl.jena.rdf.model.Model retreiveQualityReport()
retreiveQualityReport in interface IOProcessorpublic void processorWorkFlow()
IOProcessorprocessorWorkFlow in interface IOProcessorpublic List<IOStats> getIOStats() throws ProcessorNotInitialised
IOProcessorgetIOStats in interface IOProcessorProcessorNotInitialisedpublic void cancelMetricAssessment()
throws ProcessorNotInitialised
IOProcessorcancelMetricAssessment in interface IOProcessorProcessorNotInitialisedCopyright © 2016 Enterprise Information Systems - University of Bonn. All rights reserved.