Class PredictableUUIDSource

java.lang.Object
org.eclipse.rdf4j.spring.uuidsource.predictable.PredictableUUIDSource
All Implemented Interfaces:
UUIDSource

public class PredictableUUIDSource extends Object implements UUIDSource
UUID source that generates the same sequence of UUIDs by counting up a long counter and using that as the value for generating a UUID. Useful for unit tests as newly generated entities will receive the same UUIDs each time the tests are executed.
Since:
4.0.0
Author:
Florian Kleedorfer