eu.ostrzyciel.jelly.convert.jena.riot

Members list

Type members

Classlikes

final class JellyDatasetWriter(opt: JellyFormatVariant) extends WriterDatasetRIOTBase

A Jena writer that writes RDF datasets in Jelly format.

A Jena writer that writes RDF datasets in Jelly format.

Attributes

Supertypes
class WriterDatasetRIOTBase
trait WriterDatasetRIOT
class Object
trait Matchable
class Any
object JellyDatasetWriterFactory extends WriterDatasetRIOTFactory

A factory for creating a Jelly writer for a dataset.

A factory for creating a Jelly writer for a dataset.

Attributes

Supertypes
trait WriterDatasetRIOTFactory
class Object
trait Matchable
class Any
Self type
object JellyFormat

Pre-defined serialization format variants for Jelly.

Pre-defined serialization format variants for Jelly.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class JellyFormatVariant(opt: RdfStreamOptions, frameSize: Int, enableNamespaceDeclarations: Boolean, delimited: Boolean) extends RDFFormatVariant

Subclass of RDFFormatVariant to pass Jelly's options to the encoder.

Subclass of RDFFormatVariant to pass Jelly's options to the encoder.

Value parameters

delimited

whether to write the output as delimited frames. Note: files saved to disk are recommended to be delimited, for better interoperability with other implementations. In a non-delimited file you can have ONLY ONE FRAME. If the input data is large, this will lead to an out-of-memory error. So, this makes sense only for small data. Disable this only if you know what you are doing.

enableNamespaceDeclarations

whether to include namespace declarations in the output

frameSize

size of each RdfStreamFrame, in rows

opt

Jelly options

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class RDFFormatVariant
class Object
trait Matchable
class Any
Show all
final class JellyGraphWriter(opt: JellyFormatVariant) extends WriterGraphRIOTBase

A Jena writer that writes RDF graphs in Jelly format.

A Jena writer that writes RDF graphs in Jelly format.

Attributes

Supertypes
class WriterGraphRIOTBase
trait WriterGraphRIOT
class Object
trait Matchable
class Any
object JellyGraphWriterFactory extends WriterGraphRIOTFactory

A factory for creating a Jelly writer for a graph.

A factory for creating a Jelly writer for a graph.

Attributes

Supertypes
trait WriterGraphRIOTFactory
class Object
trait Matchable
class Any
Self type
object JellyLanguage

Definition of the Jelly serialization language in Jena.

Definition of the Jelly serialization language in Jena.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object JellyReader extends ReaderRIOT

Attributes

Supertypes
trait ReaderRIOT
class Object
trait Matchable
class Any
Self type
object JellyReaderFactory extends ReaderRIOTFactory

Attributes

Supertypes
trait ReaderRIOTFactory
class Object
trait Matchable
class Any
Self type
final class JellyStreamWriter(opt: JellyFormatVariant, out: OutputStream) extends StreamRDF

A stream writer that writes RDF data in Jelly format.

A stream writer that writes RDF data in Jelly format.

It assumes that the caller has already set the correct stream type in the options.

It will output the statements as in a TRIPLES/QUADS stream.

Attributes

Supertypes
trait StreamRDF
class Object
trait Matchable
class Any
final class JellyStreamWriterAutodetectType(opt: JellyFormatVariant, out: OutputStream) extends StreamRDF

Wrapper on JellyStreamWriter that autodetects the physical stream type based on the first element (triple or quad) added to the stream.

Wrapper on JellyStreamWriter that autodetects the physical stream type based on the first element (triple or quad) added to the stream.

This is used when initializing the stream writer with the RIOT APIs, where the stream type is not known.

Value parameters

opt

Jelly format variant

out

output stream

Attributes

Supertypes
trait StreamRDF
class Object
trait Matchable
class Any
object JellyStreamWriterFactory extends StreamRDFWriterFactory

A factory for creating a Jelly stream writer.

A factory for creating a Jelly stream writer.

Attributes

Supertypes
trait StreamRDFWriterFactory
class Object
trait Matchable
class Any
Self type
class JellySubsystemLifecycle extends JenaSubsystemLifecycle

Subsystem lifecycle for registering the Jelly language in Jena. See: https://jena.apache.org/documentation/notes/system-initialization.html

Subsystem lifecycle for registering the Jelly language in Jena. See: https://jena.apache.org/documentation/notes/system-initialization.html

Attributes

Supertypes
trait JenaSubsystemLifecycle
trait SubsystemLifecycle
class Object
trait Matchable
class Any
object RDFReaderJelly extends RDFReaderRIOT

Attributes

Supertypes
class RDFReaderRIOT
trait RDFReaderI
class Object
trait Matchable
class Any
Self type