Class BinaryRDFWriterSettings
- Since:
- 4.3.0
- Author:
- Frens Jan Rumph
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RioSetting<Long>
Setting for the number of statements to consider while analyzing duplicate RDF terms.static final RioSetting<String>
Setting for the character set to use for encoding strings (only applicable to version 2 of the binary RDF format).static final RioSetting<Boolean>
Setting for whether to recycle IDs while writing binary RDF files.static final RioSetting<Long>
Setting for the binary RDF format to use. -
Method Summary
-
Field Details
-
VERSION
Setting for the binary RDF format to use.Defaults to
2
.Can be overridden by setting system property
org.eclipse.rdf4j.rio.binary.format_version
-
BUFFER_SIZE
Setting for the number of statements to consider while analyzing duplicate RDF terms. Terms that occur twice or more within the buffer of statements are written out (starting from the second occurrence) as identifiers.Defaults to
8192
.Can be overridden by setting system property
org.eclipse.rdf4j.rio.binary.buffer_size
-
CHARSET
Setting for the character set to use for encoding strings (only applicable to version 2 of the binary RDF format).Defaults to
"UTF-8"
.Can be overridden by setting system property
org.eclipse.rdf4j.rio.binary.charset
-
RECYCLE_IDS
Setting for whether to recycle IDs while writing binary RDF files. (only applicable to version 2 of the binary RDF format).If enabled (the default), once an RDF term is no longer referenced in the buffer of statements (see also
BUFFER_SIZE
), the ID of that term can be reused and any in memory reference to that term is released. If disabled, once an RDF term is assigned an ID it is never released and an in-memory reference to that term is maintained in memory. Note that disabling this setting may decrease file size, but also may result in anOutOfMemoryError
because heap memory used is for every term that is ever assigned an ID.Defaults to
true
.Can be overridden by setting system property
org.eclipse.rdf4j.rio.binary.recycle_ids
-