}
@Override
public Resource export(Graph graph) {
Resource implNode = super.export(graph);
ValueFactory vf = graph.getValueFactory();
if (tripleIndexes != null) {
graph.add(implNode, TRIPLE_INDEXES, vf.createLiteral(tripleIndexes));
}
if (forceSync) {
graph.add(implNode, FORCE_SYNC, vf.createLiteral(forceSync));
}
if (valueCacheSize >= 0) {
graph.add(implNode, VALUE_CACHE_SIZE, vf.createLiteral(valueCacheSize));
}
if (valueIDCacheSize >= 0) {
graph.add(implNode, VALUE_ID_CACHE_SIZE, vf.createLiteral(valueIDCacheSize));
}
if (namespaceCacheSize >= 0) {
graph.add(implNode, NAMESPACE_CACHE_SIZE, vf.createLiteral(namespaceCacheSize));
}
if (namespaceIDCacheSize >= 0) {
graph.add(implNode, NAMESPACE_ID_CACHE_SIZE, vf.createLiteral(namespaceIDCacheSize));
}
return implNode;
}