RdfBinaryDatasetCodec class abstract
A binary codec for RDF dataset serialization formats.
Extends RdfBinaryCodec specialized for RdfDataset. Implementations provide binary encoding and decoding of RDF datasets (e.g., Jelly QUADS or GRAPHS streams).
To add support for a new binary dataset format, extend this class and register an instance with RdfBinaryDatasetCodecRegistry.
- Inheritance
-
- Object
- Codec<
RdfDataset, Uint8List> - RdfBinaryCodec<
RdfDataset> - RdfBinaryDatasetCodec
Constructors
- RdfBinaryDatasetCodec()
-
const
Properties
- decoder → RdfBinaryDatasetDecoder
-
Returns the decoder of
this, converting fromTtoS.no setteroverride - encoder → RdfBinaryDatasetEncoder
-
Returns the encoder from
StoT.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
Uint8List, RdfDataset> -
Inverts
this.no setterinherited - primaryMimeType → String
-
The primary MIME type for this codec.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedMimeTypes
→ Set<
String> -
All MIME types supported by this codec.
no setterinherited
Methods
-
canParseBytes(
Uint8List content) → bool -
Tests if the provided binary content is likely in this codec's format.
inherited
-
decode(
Uint8List input, {RdfBinaryDecoderOptions? options}) → RdfDataset -
Decodes binary RDF data into an RDF data structure.
inherited
-
encode(
RdfDataset input, {RdfBinaryEncoderOptions? options}) → Uint8List -
Encodes an RDF data structure to binary.
inherited
-
fuse<
R> (Codec< Uint8List, R> other) → Codec<RdfDataset, R> -
Fuses
thiswithother.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withOptions(
{RdfBinaryEncoderOptions? encoder, RdfBinaryDecoderOptions? decoder}) → RdfBinaryDatasetCodec -
Creates a new codec instance with the specified options.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited