NQuadsDecoder class final
Decoder for the N-Quads format that yields an RdfDataset.
This decoder wraps NQuadsToQuadsDecoder and groups the sequentially parsed quads into a mathematically unique RdfDataset.
This wrapper intentionally focuses on dataset value-object materialization and does not define additional stream continuity semantics beyond its delegate.
- Inheritance
-
- Object
- Converter<
String, RdfDataset> - RdfDecoder<
RdfDataset> - RdfDatasetDecoder
- NQuadsDecoder
Constructors
- NQuadsDecoder({NQuadsDecoderOptions options = const NQuadsDecoderOptions(), IriTermFactory iriTermFactory = IriTerm.validated})
- Creates a new N-Quads parser focusing on Datasets
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
Stream< String> stream) → Stream<RdfDataset> -
Transforms the provided
stream.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>view of this stream transformer.inherited -
convert(
String input, {String? documentUrl}) → RdfDataset -
Decodes an RDF dataset document and returns an RDF dataset
override
-
decode(
String input, {String? documentUrl}) → ({Map< BlankNodeTerm, String> blankNodeLabels, RdfDataset dataset}) -
fuse<
TT> (Converter< RdfDataset, TT> other) → Converter<String, TT> -
Fuses
thiswithother.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< RdfDataset> sink) → Sink<String> -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withOptions(
RdfGraphDecoderOptions options) → RdfDatasetDecoder -
Creates a new decoder with the specified options
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited