Params
eu.ostrzyciel.jelly.core.ProtoEncoder.Params
final case class Params(options: RdfStreamOptions, enableNamespaceDeclarations: Boolean, maybeRowBuffer: Option[Buffer[RdfStreamRow]])
Parameters passed to the Jelly encoder.
New fields may be added in the future, but always with a default value and in a sequential order. However, it is still recommended to use named arguments when creating this object.
Value parameters
- enableNamespaceDeclarations
-
whether to allow namespace declarations in the stream. If true, this will raise the stream version to 2 (Jelly 1.1.0). Otherwise, the stream version will be 1 (Jelly 1.0.0).
- maybeRowBuffer
-
optional buffer for storing stream rows that should go into a stream frame. If provided, the encoder will append the rows to this buffer instead of returning them, so methods like
addTripleStatement
will return Seq(). - options
-
options for this stream (required)
Attributes
- Graph
-
- Supertypes
Members list
In this article