RdfTriplesDecoder class abstract

Base class for decoding RDF documents into a sequence of triples.

This is the triple-level sibling of RdfQuadsDecoder. It is useful when callers need row/batch-level control instead of materializing full graph objects.

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

RdfTriplesDecoder()
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<Triple>>
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<Triple>
Decodes an RDF document and returns the appropriate RDF data structure
override
fuse<TT>(Converter<Iterable<Triple>, TT> other) Converter<String, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<Iterable<Triple>> sink) Sink<String>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited
withOptions(RdfGraphDecoderOptions options) RdfTriplesDecoder
Creates a new decoder with the specified options
override

Operators

operator ==(Object other) bool
The equality operator.
inherited