Package org.datanucleus.store.valuegenerator
Value Generation.
This package provides a series of classes providing generation of values.
The entry point is ValueGenerationManager which is used for creating and managing the
various ValueGenerators. All generators are known by a symbolic name and can
be accessed from the ValueGenerationManager via that name once created. All ValueGenerators
copy the JDO2 "javax.jdo.datastore.Sequence" interface method names and hence
can be easily extended and implement that interface.
-
Interface Summary Interface Description ValueGenerationConnectionProvider Connection provider for a ValueGenerator that requires connections to their datastore.ValueGenerationManager Manager for the creation of ValueGenerators.ValueGenerator<T> Generator interface for values. -
Class Summary Class Description AbstractConnectedGenerator<T> Abstract representation of a ValueGenerator requiring a connection to a datastore.AbstractGenerator<T> Abstract value generator.AbstractUUIDGenerator Value generator for a UUID format.AUIDGenerator This generator uses a Java implementation of DCE UUIDs to create unique identifiers without the overhead of additional database transactions or even an open database connection.TimestampGenerator Value generator for timestamps.TimestampValueGenerator Value generator for timestamp values (millisecs).UUIDGenerator Value generator for a String utilising the JDK UUID class (128-bit, 36 character).UUIDHexGenerator Value generator for a UUID hexadecimal format.UUIDObjectGenerator Value generator for a UUID utilising the JDK UUID class (128-bit, 36 character).UUIDStringGenerator Value generator for a UUID String format.ValueGenerationBlock<T> Representation of a block of values.ValueGenerationManagerImpl Manager for the creation of ValueGenerators. -
Enum Summary Enum Description AbstractConnectedGenerator.ConnectionPreference -
Exception Summary Exception Description ValueGenerationException General class to throw exceptions in generators.