| Package | Description |
|---|---|
| org.datanucleus.store |
Package handling the storage of classes to the datastore, and the management of the datastore.
|
| org.datanucleus.store.valuegenerator |
Value Generation.
|
| Modifier and Type | Field and Description |
|---|---|
protected ValueGenerator |
NucleusSequenceImpl.generator
The generator for the sequence.
|
| Modifier and Type | Method and Description |
|---|---|
protected ValueGenerator |
AbstractStoreManager.getValueGeneratorForMember(ClassLoaderResolver clr,
AbstractClassMetaData cmd,
int absoluteFieldNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
AbstractStoreManager.getNextValueForValueGenerator(ValueGenerator generator,
ExecutionContext ec)
Accessor for the next value from the specified ValueGenerator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConnectedGenerator<T>
Abstract representation of a ValueGenerator requiring a connection to a datastore.
|
class |
AbstractGenerator<T>
Abstract value generator.
|
class |
AbstractUUIDGenerator
Value generator for a UUID format.
|
class |
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.
|
class |
TimestampGenerator
Value generator for timestamps.
|
class |
TimestampValueGenerator
Value generator for timestamp values (millisecs).
|
class |
UUIDGenerator
Value generator for a String utilising the JDK UUID class (128-bit, 36 character).
|
class |
UUIDHexGenerator
Value generator for a UUID hexadecimal format.
|
class |
UUIDObjectGenerator
Value generator for a UUID utilising the JDK UUID class (128-bit, 36 character).
|
class |
UUIDStringGenerator
Value generator for a UUID String format.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ValueGenerator> |
ValueGenerationManagerImpl.generatorsByMemberKey
Map of ValueGenerators, keyed by the member key ("{class}.{field}", or "{class} + (datastore-id)").
|
protected Map<String,ValueGenerator> |
ValueGenerationManagerImpl.uniqueGeneratorsByName
Map of "unique" ValueGenerators, keyed by their strategy name.
|
| Modifier and Type | Method and Description |
|---|---|
ValueGenerator |
ValueGenerationManagerImpl.createAndRegisterValueGenerator(String memberKey,
String strategyName,
Properties props) |
ValueGenerator |
ValueGenerationManager.createAndRegisterValueGenerator(String memberKey,
String strategyName,
Properties props)
Method to create and register a generator of the specified strategy, for the specified memberKey.
|
ValueGenerator |
ValueGenerationManagerImpl.createValueGenerator(String strategyName,
String seqName,
Properties props,
ValueGenerationConnectionProvider connectionProvider) |
ValueGenerator |
ValueGenerationManager.createValueGenerator(String strategyName,
String seqName,
Properties props,
ValueGenerationConnectionProvider connectionProvider)
Method to create a ValueGenerator when the generator is datastore based.
|
ValueGenerator |
ValueGenerationManagerImpl.getUniqueValueGeneratorByName(String name) |
ValueGenerator |
ValueGenerationManager.getUniqueValueGeneratorByName(String name)
Accessor for the "unique" ValueGenerator for the specified name (if any).
|
ValueGenerator |
ValueGenerationManagerImpl.getValueGeneratorForMemberKey(String memberKey) |
ValueGenerator |
ValueGenerationManager.getValueGeneratorForMemberKey(String memberKey)
Method to access the currently defined ValueGenerator for the specified member "key" (if any).
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValueGenerationManagerImpl.registerValueGeneratorForMemberKey(String memberKey,
ValueGenerator generator) |
void |
ValueGenerationManager.registerValueGeneratorForMemberKey(String memberKey,
ValueGenerator generator)
Method to store a ValueGenerator for the specified member "key".
|
Copyright © 2020. All rights reserved.