Package com.complexible.common.rdf.rio
Interface RDFStatementHandler
-
public interface RDFStatementHandler
Handler for statements created by thestream loader
. This class is meant to decouple streams and statement handlers and can be used to handle statements generated by different streams. Concurrent parsing of streams and management of threads are handled by thestream processor
. To increase concurrency performance, statements are passed to the handler in bulk rather than one by one.- Since:
- 2.0.1
- Version:
- 6.0
- Author:
- Evren Sirin
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RDFStatementHandler.Factory
Factory class to generate statement handlers.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finish()
void
handleStatements(RDFStatementList theList)
Handles the statements produced by a stream.
-
-
-
Method Detail
-
handleStatements
void handleStatements(RDFStatementList theList) throws RDFHandlerException
Handles the statements produced by a stream. The provided list will never be empty. This function will never be called concurrently from multiple threads so its implementation does not need to be thread-safe.- Throws:
RDFHandlerException
-
finish
void finish() throws RDFHandlerException
- Throws:
RDFHandlerException
-
-