Package org.datanucleus.store.valuegenerator
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.
-
ClassDescriptionAbstract representation of a ValueGenerator requiring a connection to a datastore.Abstract value generator.Value generator for a UUID format.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.An almost unique ID.This class represents the current state of the AUID generator.Value generator for timestamps.Value generator for timestamp values (millisecs).Value generator for a String utilising the JDK UUID class (128-bit, 36 character).Value generator for a UUID hexadecimal format.Value generator for a UUID utilising the JDK UUID class (128-bit, 36 character).Value generator for a UUID String format.Representation of a block of values.Connection provider for a ValueGenerator that requires connections to their datastore.General class to throw exceptions in generators.Manager for the creation of ValueGenerators.Manager for the creation of ValueGenerators.Generator interface for values.