@Override public void map(final QuadModel model) throws Exception { final List<Statement> statements = new ArrayList<>(); final RDFSource source = RDFSources.wrap(model); final RDFHandler handler = RDFHandlers.wrap(statements); processor.wrap(source).emit(handler, 1); model.addAll(statements); }
source.emit(new AbstractRDFHandler() {
RDFSources.read(false, true, null, null, resourceFile).emit(new AbstractRDFHandler() {
final RDFSource source = RDFSources.read(false, true, null, null, input.getAbsolutePath()); source.emit(new AbstractRDFHandler() {
.emit(RDFHandlers.wrap(smushedStmts), 1);
staticData.emit(handler, 1); } catch (final RDFHandlerException ex) { throw new RuntimeException(ex);