Package com.complexible.common.rdf.rio
Class RDFStreamOptions
java.lang.Object
com.complexible.common.rdf.rio.RDFStreamOptions
Options for RDF parsing used only via RDFStreamBuilder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe number of input lines that will be passed to parsing threads as a batch.Size of the file over which we would use multi-threaded parsing.The maximum number of batches that will be kept in memory when multiple threads are being used to parse a single file.The number of threads to use for parsing a single file in multiple threads. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MULTI_THREAD_FILE_SIZE
Size of the file over which we would use multi-threaded parsing. Multiple files are parsed in multiple threads but unless the input file size is greater this limit a single parsing thread will be used for that file. Set to-1to use multi-threaded parsing for every file and input stream for which there is no size information. Multi-threaded parsing is currently limited to NTriples and NQuads formats. -
THREAD_COUNT
The number of threads to use for parsing a single file in multiple threads. -
BATCH_SIZE
The number of input lines that will be passed to parsing threads as a batch. -
QUEUE_SIZE
The maximum number of batches that will be kept in memory when multiple threads are being used to parse a single file. Setting this value higher will cause more memory to be used.
-
-
Constructor Details
-
RDFStreamOptions
public RDFStreamOptions()
-