NQuadsToQuadsDecoder class final
Decoder for the N-Quads format that yields a sequence of Quads.
Unlike NQuadsDecoder which groups parsed quads into an RdfDataset, this decoder preserves the exact textual order of the statements from the source.
This decoder is the list-level API and owns chunk-to-chunk parser continuity for stream processing.
- Inheritance
-
- Object
- Converter<
String, Iterable< Quad> > - RdfDecoder<
Iterable< Quad> > - RdfQuadsDecoder
- NQuadsToQuadsDecoder
Constructors
- NQuadsToQuadsDecoder({NQuadsDecoderOptions options = const NQuadsDecoderOptions(), IriTermFactory iriTermFactory = IriTerm.validated})
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<Iterable< Quad> > -
Decodes streamed N-Quads chunks while preserving blank-node identity
across chunk boundaries at quad-list level.
override
-
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>view of this stream transformer.inherited -
convert(
String input, {String? documentUrl}) → Iterable< Quad> -
Decodes an RDF document and returns the appropriate RDF data structure
override
-
decode(
String input, {String? documentUrl, Map< String, BlankNodeTerm> ? bnodeMap}) → ({Map<BlankNodeTerm, String> blankNodeLabels, Iterable<Quad> quads}) -
fuse<
TT> (Converter< Iterable< other) → Converter<Quad> , TT>String, TT> -
Fuses
thiswithother.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< Iterable< sink) → Sink<Quad> >String> -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withOptions(
RdfGraphDecoderOptions options) → RdfQuadsDecoder -
Creates a new decoder with the specified options
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited