Uses of Interface
org.datanucleus.store.valuegenerator.ValueGenerator
Packages that use ValueGenerator
Package
Description
Package handling the storage of classes to the datastore, and the management of the datastore.
Value Generation.
-
Uses of ValueGenerator in org.datanucleus.store
Fields in org.datanucleus.store declared as ValueGeneratorModifier and TypeFieldDescriptionprotected ValueGeneratorNucleusSequenceImpl.generatorThe generator for the sequence.Methods in org.datanucleus.store that return ValueGeneratorModifier and TypeMethodDescriptionprotected ValueGeneratorAbstractStoreManager.getValueGeneratorForMember(ClassLoaderResolver clr, AbstractClassMetaData cmd, AbstractMemberMetaData mmd) Methods in org.datanucleus.store with parameters of type ValueGeneratorModifier and TypeMethodDescriptionprotected ObjectAbstractStoreManager.getNextValueForValueGenerator(ValueGenerator generator, ExecutionContext ec) Accessor for the next value from the specified ValueGenerator. -
Uses of ValueGenerator in org.datanucleus.store.valuegenerator
Classes in org.datanucleus.store.valuegenerator that implement ValueGeneratorModifier and TypeClassDescriptionclassAbstract representation of a ValueGenerator requiring a connection to a datastore.classAbstract value generator.classValue generator for a UUID format.classThis 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.classValue generator for timestamps.classValue generator for timestamp values (millisecs).classValue generator for a String utilising the JDK UUID class (128-bit, 36 character).classValue generator for a UUID hexadecimal format.classValue generator for a UUID utilising the JDK UUID class (128-bit, 36 character).classValue generator for a UUID String format.Fields in org.datanucleus.store.valuegenerator with type parameters of type ValueGeneratorModifier and TypeFieldDescriptionprotected Map<String, ValueGenerator> ValueGenerationManagerImpl.generatorsByMemberKeyMap of ValueGenerators, keyed by the member key ("{class}.{field}", or "{class} + (datastore-id)").protected Map<String, ValueGenerator> ValueGenerationManagerImpl.uniqueGeneratorsByNameMap of "unique" ValueGenerators, keyed by their strategy name.Methods in org.datanucleus.store.valuegenerator that return ValueGeneratorModifier and TypeMethodDescriptionValueGenerationManager.createAndRegisterValueGenerator(String memberKey, String strategyName, Properties props) Method to create and register a generator of the specified strategy, for the specified memberKey.ValueGenerationManagerImpl.createAndRegisterValueGenerator(String memberKey, String strategyName, Properties props) ValueGenerationManager.createValueGenerator(String strategyName, String seqName, Properties props, ValueGenerationConnectionProvider connectionProvider) Method to create a ValueGenerator when the generator is datastore based.ValueGenerationManagerImpl.createValueGenerator(String strategyName, String seqName, Properties props, ValueGenerationConnectionProvider connectionProvider) ValueGenerationManager.getUniqueValueGeneratorByName(String name) Accessor for the "unique" ValueGenerator for the specified name (if any).ValueGenerationManagerImpl.getUniqueValueGeneratorByName(String name) ValueGenerationManager.getValueGeneratorForMemberKey(String memberKey) Method to access the currently defined ValueGenerator for the specified member "key" (if any).ValueGenerationManagerImpl.getValueGeneratorForMemberKey(String memberKey) Methods in org.datanucleus.store.valuegenerator with parameters of type ValueGeneratorModifier and TypeMethodDescriptionvoidValueGenerationManager.registerValueGeneratorForMemberKey(String memberKey, ValueGenerator generator) Method to store a ValueGenerator for the specified member "key".voidValueGenerationManagerImpl.registerValueGeneratorForMemberKey(String memberKey, ValueGenerator generator)