RdfSource

eu.ostrzyciel.jelly.stream.RdfSource
object RdfSource

Utility object for creating RDF stream sources.

These sources can then be hooked up to the EncoderFlow to produce streams of Jelly stream frames.

Attributes

Since

2.6.0

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
RdfSource.type

Members list

Value members

Concrete methods

def builder[TGraph, TDataset, TNode, TTriple, TQuad](using adapter: IterableAdapter[TNode, TTriple, TQuad, TGraph, TDataset]): RdfSourceBuilderImpl[TGraph, TDataset, TNode, TTriple, TQuad]#RootBuilder

Flexible builder for creating RDF stream sources.

Flexible builder for creating RDF stream sources.

Example usage:

val source: Source[NamespaceDeclaration | Triple, NotUsed] = RdfSource.builder
.graphAsTriples(graph)
.withNamespaceDeclarations
.source

See more examples in the examples module.

Type parameters

TDataset

type of RDF datasets

TGraph

type of RDF graphs

TNode

type of RDF nodes

TQuad

type of RDF quads

TTriple

type of RDF triples

Value parameters

adapter

adapter for turning graphs and datasets into iterables

Attributes

Returns

RDF source builder