RdfQuadsDecoder class abstract
Base class for decoding RDF documents into a sequence of Quads
This abstract class extends the standard Converter interface to provide
a common API for decoding different RDF string serializations (like N-Quads)
into an Iterable<Quad>. Unlike RdfDatasetDecoder, this decoder preserves
the exact order of the quads as they appear in the source document, rather
than grouping them into a mathematical dataset graph structure.
Implementations may provide a stateful bind to preserve parser continuity across streamed chunks (for example blank-node label continuity). Callers that require these semantics should rely on concrete decoder guarantees.
- Inheritance
- Implementers
Constructors
- RdfQuadsDecoder()
-
const
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> > -
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}) → Iterable< Quad> -
Decodes an RDF document and returns the appropriate RDF data structure
override
-
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