ListExtractor
StreamExtractor capable of extracting RDF items from an in-memory sequence of items
- Type parameters:
- A
Type of the items contained in the input list
- Value parameters:
- concurrentItems
Maximum number of items to be extracted and parsed for RDF in parallel (set it to 1 for sequential execution, bear in mind that high values won't necessarily translate into performance improvements unless you know what you are doing)
- format
Format of the RDF data arriving from the Stream, the Extractor expects all data items to share format
- inference
Inference of the RDF data arriving from the Stream, the Extractor expects all data items to share inference
- items
List of elements to be used as input stream
- toRdfElement
Helper function for converting the incoming items of type A into RDFElements (implicit conversions provided in RDFElementImplicits)
- Source:
- ListExtractor.scala
Type members
Types
Value members
Inherited methods
Check the user-controlled inputs to this extractor, preventing the creation of it if necessary
Check the user-controlled inputs to this extractor, preventing the creation of it if necessary
- Throws:
- IllegalArgumentException
On invalid extractor parameters
- Inherited from:
- StreamExtractor
- Source:
- StreamExtractor.scala
Concrete fields
Inherited fields
The initial inputStream, transformed through toDataItems to get a stream of RDF Items
The initial inputStream, transformed through toDataItems to get a stream of RDF Items
- Inherited from:
- StreamExtractor
- Source:
- StreamExtractor.scala