Class BinaryRDFWriterSettings
- Author:
- Frens Jan Rumph
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RioSetting<Long>
Deprecated, for removal: This API element is subject to removal in a future version.static final RioSetting<String>
Deprecated, for removal: This API element is subject to removal in a future version.UseBinaryRDFWriterSettings.CHARSET
instead.static final RioSetting<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.UseBinaryRDFWriterSettings.RECYCLE_IDS
instead.static final RioSetting<Long>
Deprecated, for removal: This API element is subject to removal in a future version.UseBinaryRDFWriterSettings.VERSION
instead. -
Method Summary
-
Field Details
-
VERSION
Deprecated, for removal: This API element is subject to removal in a future version.UseBinaryRDFWriterSettings.VERSION
instead.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
Deprecated, for removal: This API element is subject to removal in a future version.UseBinaryRDFWriterSettings.BUFFER_SIZE
instead.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
Deprecated, for removal: This API element is subject to removal in a future version.UseBinaryRDFWriterSettings.CHARSET
instead.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
Deprecated, for removal: This API element is subject to removal in a future version.UseBinaryRDFWriterSettings.RECYCLE_IDS
instead.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
-
BinaryRDFWriterSettings.BUFFER_SIZE
instead.