Uses of Class
org.apache.jena.riot.system.AsyncParserBuilder
-
Uses of AsyncParserBuilder in org.apache.jena.riot.system
Modifier and TypeMethodDescriptionAsyncParserBuilder.mutateSources
(Consumer<RDFParserBuilder> mutator) Run an operation on all RDFParserBuilder sources in this builder.static AsyncParserBuilder
AsyncParser.of
(InputStream input, Lang lang, String baseURI) Create anAsyncParserBuilder
from an input stream.static AsyncParserBuilder
Create anAsyncParserBuilder
from a file or URL.static AsyncParserBuilder
AsyncParser.of
(RDFParserBuilder source) Create anAsyncParserBuilder
from anRDFParserBuilder
.static AsyncParserBuilder
AsyncParser.ofLocations
(List<String> filesOrURLs) Create anAsyncParserBuilder
from a set of files and/or URLs.static AsyncParserBuilder
AsyncParser.ofSources
(List<RDFParserBuilder> sources) Create anAsyncParserBuilder
from a set ofRDFParserBuilder
instances.AsyncParserBuilder.setChunkSize
(int chunkSize) The chunk size controls the maxmimum number of elements the parser thread transfers at once to the client iterator's queue.AsyncParserBuilder.setDaemonMode
(boolean daemonMode) Whether the parser thread should run as a daemon thread.AsyncParserBuilder.setPrematureDispatch
(Predicate<EltStreamRDF> prematureDispatch) Set a custom dispatch (flush) policy: When the predicate returns true for an element then that element and any gathered data is dispatched immediately.AsyncParserBuilder.setQueueSize
(int queueSize) The queue size controls the number of chunks the parser thread can read ahead.AsyncParserBuilder.setSources
(List<RDFParserBuilder> sources)