Package com.complexible.common.rdf.rio
Interface RDFStatementHandler
- All Superinterfaces:
AutoCloseable
Handler for statements created by the
stream 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 the stream 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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceFactory class to generate statement handlers. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidfinish()voidhandleStatements(RDFStatementList theList) Handles the statements produced by a stream.
-
Method Details
-
handleStatements
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
- Throws:
RDFHandlerException
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-