public class IDGenerator extends Object implements IIDGenerator
| Constructor and Description |
|---|
IDGenerator(String endpoint,
UUID uuid,
org.openrdf.model.ValueFactory valueFactory) |
public IDGenerator(String endpoint, UUID uuid, org.openrdf.model.ValueFactory valueFactory)
endpoint - The SPARQL endpoint.uuid - The UUID for the IObjectManager. This is used
to avoid collisions between different IObjectManagers.valueFactory - The ValueFactory that will be used when new
URIs are generated.public org.openrdf.model.URI genId()
IIDGeneratorgenId in interface IIDGeneratorpublic org.openrdf.model.URI genId(String scope)
IIDGeneratorgenId in interface IIDGeneratorscope - The scope will be incorporated into the URI. This is not
necessary to make the URI globally unique, but it can make it
easier to embed some non-opaque semantics into a globally
unique URI.public void rollback()
IIDGeneratorrollback in interface IIDGeneratorCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.