JenaProtoEncoder

eu.ostrzyciel.jelly.convert.jena.JenaProtoEncoder
final class JenaProtoEncoder(val options: RdfStreamOptions) extends ProtoEncoder[Node, Triple, Quad, Triple]

Attributes

Graph
Supertypes
class ProtoEncoder[Node, Triple, Quad, Triple]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

final def addQuadStatement(quad: Quad): Iterable[RdfStreamRow]

Add an RDF quad statement to the stream.

Add an RDF quad statement to the stream.

Value parameters

quad

quad to add

Attributes

Returns

iterable of stream rows

Inherited from:
ProtoEncoder
final def addTripleStatement(triple: Triple): Iterable[RdfStreamRow]

Add an RDF triple statement to the stream.

Add an RDF triple statement to the stream.

Value parameters

triple

triple to add

Attributes

Returns

iterable of stream rows

Inherited from:
ProtoEncoder
final def endGraph(): Iterable[RdfStreamRow]

Signal the end of a delimited graph in a GRAPHS stream.

Signal the end of a delimited graph in a GRAPHS stream.

Attributes

Returns

iterable of stream rows (always of length 1)

Inherited from:
ProtoEncoder
final def startDefaultGraph(): Iterable[RdfStreamRow]

Signal the start of the default delimited graph in a GRAPHS stream.

Signal the start of the default delimited graph in a GRAPHS stream.

Attributes

Returns

iterable of stream rows

Inherited from:
ProtoEncoder
final def startGraph(graph: Node): Iterable[RdfStreamRow]

Signal the start of a new (named) delimited graph in a GRAPHS stream. Null value is interpreted as the default graph.

Signal the start of a new (named) delimited graph in a GRAPHS stream. Null value is interpreted as the default graph.

Value parameters

graph

graph node

Attributes

Returns

iterable of stream rows

Inherited from:
ProtoEncoder

Concrete fields

override val options: RdfStreamOptions