public interface PersistenceRootResolver
| Modifier and Type | Interface and Description |
|---|---|
static class |
PersistenceRootResolver.Default |
static class |
PersistenceRootResolver.MappingWrapper |
| Modifier and Type | Method and Description |
|---|---|
static void |
addRoots(one.microstream.collections.EqHashTable<String,Supplier<?>> roots,
Function<Field,String> rootIdentifierDeriver,
Class<?>... types) |
static void |
addRoots(one.microstream.collections.EqHashTable<String,Supplier<?>> roots,
Function<Field,String> rootIdentifierDeriver,
Class<?> type) |
one.microstream.collections.types.XGettingTable<String,PersistenceRootEntry> |
definedEntries() |
static one.microstream.collections.types.XGettingTable<String,Supplier<?>> |
deriveRoots(Class<?>... types) |
static one.microstream.collections.types.XGettingTable<String,Supplier<?>> |
deriveRoots(Function<Field,String> rootIdentifierDeriver,
Class<?>... types) |
default one.microstream.collections.types.XGettingTable<String,Object> |
resolveDefinedRootInstances() |
default void |
resolveRootEntries(one.microstream.collections.types.XMap<String,PersistenceRootEntry> resolvedEntriesAcceptor,
one.microstream.collections.types.XGettingEnum<String> identifiers) |
PersistenceRootEntry |
resolveRootInstance(String identifier) |
default one.microstream.collections.types.XTable<String,Object> |
resolveRootInstances(one.microstream.collections.types.XGettingTable<String,PersistenceRootEntry> entries) |
PersistenceRootReference |
root() |
default PersistenceRootEntry |
rootEntry() |
String |
rootIdentifier() |
static PersistenceRootResolver |
Wrap(PersistenceRootResolver actualRootResolver,
PersistenceTypeDescriptionResolverProvider refactoringMappingProvider) |
static Supplier<?> |
wrapCustomRoot(Object customRootInstance)
Central wrapping method mosty to have a unified and concisely named location for the lambda.
|
String rootIdentifier()
PersistenceRootReference root()
PersistenceRootEntry resolveRootInstance(String identifier)
one.microstream.collections.types.XGettingTable<String,PersistenceRootEntry> definedEntries()
default PersistenceRootEntry rootEntry()
default void resolveRootEntries(one.microstream.collections.types.XMap<String,PersistenceRootEntry> resolvedEntriesAcceptor, one.microstream.collections.types.XGettingEnum<String> identifiers)
default one.microstream.collections.types.XGettingTable<String,Object> resolveDefinedRootInstances()
default one.microstream.collections.types.XTable<String,Object> resolveRootInstances(one.microstream.collections.types.XGettingTable<String,PersistenceRootEntry> entries)
static one.microstream.collections.types.XGettingTable<String,Supplier<?>> deriveRoots(Class<?>... types)
static one.microstream.collections.types.XGettingTable<String,Supplier<?>> deriveRoots(Function<Field,String> rootIdentifierDeriver, Class<?>... types)
static void addRoots(one.microstream.collections.EqHashTable<String,Supplier<?>> roots, Function<Field,String> rootIdentifierDeriver, Class<?>... types)
static void addRoots(one.microstream.collections.EqHashTable<String,Supplier<?>> roots, Function<Field,String> rootIdentifierDeriver, Class<?> type)
static Supplier<?> wrapCustomRoot(Object customRootInstance)
customRootInstance - the instance to be used as the entity graph's root.Supplier returning the passed customRootInstance instance.static PersistenceRootResolver Wrap(PersistenceRootResolver actualRootResolver, PersistenceTypeDescriptionResolverProvider refactoringMappingProvider)
Copyright © 2022 MicroStream Software. All rights reserved.