eu.ostrzyciel.jelly.core

Members list

Concise view

Type members

Classlikes

trait ConverterFactory[TEncoder <: ProtoEncoder[TNode, TTriple, TQuad, _], TDecConv <: ProtoDecoderConverter[TNode, TDatatype, TTriple, TQuad], TNode, TDatatype, TTriple, TQuad](implicit evidence$1: ClassTag[TDatatype])

"Main" trait to be implemented by RDF conversion modules (e.g., for Jena and RDF4J). Exposes factory methods for building protobuf encoders and decoders.

"Main" trait to be implemented by RDF conversion modules (e.g., for Jena and RDF4J). Exposes factory methods for building protobuf encoders and decoders.

This should typically be implemented as an object. You should also provide a package-scoped implicit for your implementation so that users can easily make use of the connector in the stream package.

Attributes

TDatatype

Type of RDF datatypes in the RDF library

TDecConv

Implementation of ProtoDecoderConverter for a given RDF library.

TEncoder

Implementation of ProtoEncoder for a given RDF library.

TNode

Type of RDF nodes in the RDF library

TQuad

Type of quad statements in the RDF library.

TTriple

Type of triple statements in the RDF library.

Graph
Supertypes
class Object
trait Matchable
class Any

A collection of convenient streaming option presets. None of the presets specifies the stream type – do that with the .withStreamType method.

A collection of convenient streaming option presets. None of the presets specifies the stream type – do that with the .withStreamType method.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class MissingNameEntryError(val nameId: Int) extends RdfProtoDeserializationError

Attributes

Graph
Supertypes
class Error
class Throwable
trait Serializable
class Object
trait Matchable
class Any
final class MissingPrefixEntryError(val prefixId: Int) extends RdfProtoDeserializationError

Attributes

Graph
Supertypes
class Error
class Throwable
trait Serializable
class Object
trait Matchable
class Any
abstract class ProtoDecoder[TNode, TDatatype, TTriple, TQuad, TOut](converter: ProtoDecoderConverter[TNode, TDatatype, TTriple, TQuad])(implicit evidence$1: ClassTag[TDatatype])

Base class for stateful decoders of protobuf RDF streams.

Base class for stateful decoders of protobuf RDF streams.

See the implementations in ProtoDecoderImpl.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class GraphsAsQuadsDecoder[TNode, TDatatype, TTriple, TQuad]
class GraphsDecoder[TNode, TDatatype, TTriple, TQuad]
class QuadsDecoder[TNode, TDatatype, TTriple, TQuad]
class TriplesDecoder[TNode, TDatatype, TTriple, TQuad]
trait ProtoDecoderConverter[TNode, TDatatype, TTriple, TQuad]

Converter trait for translating between Jelly's object representation of RDF and that of RDF libraries.

Converter trait for translating between Jelly's object representation of RDF and that of RDF libraries.

You need to implement this trait to adapt Jelly to a new RDF library.

Attributes

TDatatype

type of RDF datatypes in the library

TNode

type of RDF nodes in the library

TQuad

type of quad statements in the library

TTriple

type of triple statements (not quoted triples) in the library

Graph
Supertypes
class Object
trait Matchable
class Any

Implementations of the ProtoDecoder trait.

Implementations of the ProtoDecoder trait.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class ProtoEncoder[TNode, TTriple, TQuad, TQuoted](val options: RdfStreamOptions)

Stateful encoder of a protobuf RDF stream.

Stateful encoder of a protobuf RDF stream.

This class supports all stream types and options, but usually does not check if the user is conforming to them. It will, for example, allow the user to send generalized triples in a stream that should not have them. Take care to ensure the correctness of the transmitted data, or use the specialized wrappers from the stream package.

Attributes

options

options for this stream

Graph
Supertypes
class Object
trait Matchable
class Any
sealed class RdfProtoDeserializationError(msg: String) extends Error

Attributes

Graph
Supertypes
class Error
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
final class RdfProtoSerializationError(msg: String) extends Error

Attributes

Graph
Supertypes
class Error
class Throwable
trait Serializable
class Object
trait Matchable
class Any