Package one.microstream.storage.types
Class StorageTypeDictionary.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageTypeDictionary.Default
-
- All Implemented Interfaces:
PersistenceTypeDefinitionRegistrationObserver
,PersistenceTypeDictionary
,StorageTypeDictionary
- Enclosing interface:
- StorageTypeDictionary
public static final class StorageTypeDictionary.Default extends Object implements StorageTypeDictionary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionary
PersistenceTypeDictionary.Symbols
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageTypeDictionary
StorageTypeDictionary.Default
-
-
Constructor Summary
Constructors Constructor Description Default(boolean switchByteOrder)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDictionary
iterateAllTypeDefinitions, iterateLatestTypes, iterateRuntimeDefinitions, iterateTypeLineages, iterateTypeLineageViews, resolveTypeIds
-
Methods inherited from interface one.microstream.storage.types.StorageTypeDictionary
lookupTypeHandlerChecked
-
-
-
-
Method Detail
-
iterateTypeHandlers
public final <P extends Consumer<? super StorageEntityTypeHandler>> P iterateTypeHandlers(P procedure)
- Specified by:
iterateTypeHandlers
in interfaceStorageTypeDictionary
-
lookupTypeHandler
public final StorageEntityTypeHandler lookupTypeHandler(long typeId)
- Specified by:
lookupTypeHandler
in interfaceStorageTypeDictionary
-
registerTypeDefinition
public final boolean registerTypeDefinition(PersistenceTypeDefinition typeDefinition)
- Specified by:
registerTypeDefinition
in interfacePersistenceTypeDictionary
-
registerRuntimeTypeDefinition
public boolean registerRuntimeTypeDefinition(PersistenceTypeDefinition typeDefinition)
- Specified by:
registerRuntimeTypeDefinition
in interfacePersistenceTypeDictionary
-
registerRuntimeTypeDefinitions
public boolean registerRuntimeTypeDefinitions(Iterable<? extends PersistenceTypeDefinition> typeDefinitions)
- Specified by:
registerRuntimeTypeDefinitions
in interfacePersistenceTypeDictionary
-
registerTypeDefinitions
public final boolean registerTypeDefinitions(Iterable<? extends PersistenceTypeDefinition> typeDefinitions)
- Specified by:
registerTypeDefinitions
in interfacePersistenceTypeDictionary
-
validate
public final void validate(PersistenceTypeDictionary typeDictionary)
- Specified by:
validate
in interfaceStorageTypeDictionary
-
validateEntityTypeId
public final void validateEntityTypeId(long typeId)
- Specified by:
validateEntityTypeId
in interfaceStorageTypeDictionary
-
validateEntity
public final StorageEntityTypeHandler validateEntity(long length, long typeId, long objectId)
- Specified by:
validateEntity
in interfaceStorageTypeDictionary
-
allTypeDefinitions
public XGettingTable<Long,PersistenceTypeDefinition> allTypeDefinitions()
- Specified by:
allTypeDefinitions
in interfacePersistenceTypeDictionary
-
lookupTypeByName
public final PersistenceTypeDefinition lookupTypeByName(String typeName)
- Specified by:
lookupTypeByName
in interfacePersistenceTypeDictionary
-
lookupTypeById
public final PersistenceTypeDefinition lookupTypeById(long typeId)
- Specified by:
lookupTypeById
in interfacePersistenceTypeDictionary
-
determineHighestTypeId
public final long determineHighestTypeId()
- Specified by:
determineHighestTypeId
in interfacePersistenceTypeDictionary
-
setTypeDescriptionRegistrationObserver
public final StorageTypeDictionary setTypeDescriptionRegistrationObserver(PersistenceTypeDefinitionRegistrationObserver observer)
- Specified by:
setTypeDescriptionRegistrationObserver
in interfacePersistenceTypeDictionary
- Specified by:
setTypeDescriptionRegistrationObserver
in interfaceStorageTypeDictionary
-
getTypeDescriptionRegistrationObserver
public final PersistenceTypeDefinitionRegistrationObserver getTypeDescriptionRegistrationObserver()
- Specified by:
getTypeDescriptionRegistrationObserver
in interfacePersistenceTypeDictionary
-
initialize
public StorageTypeDictionary initialize(PersistenceTypeDictionary typeDictionary)
- Specified by:
initialize
in interfaceStorageTypeDictionary
-
observeTypeDefinitionRegistration
public void observeTypeDefinitionRegistration(PersistenceTypeDefinition typeDefinition)
- Specified by:
observeTypeDefinitionRegistration
in interfacePersistenceTypeDefinitionRegistrationObserver
-
typeLineages
public XGettingTable<String,? extends PersistenceTypeLineage> typeLineages()
- Specified by:
typeLineages
in interfacePersistenceTypeDictionary
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePersistenceTypeDictionary
-
ensureTypeLineage
public PersistenceTypeLineage ensureTypeLineage(Class<?> type)
- Specified by:
ensureTypeLineage
in interfacePersistenceTypeDictionary
-
lookupTypeLineage
public PersistenceTypeLineage lookupTypeLineage(Class<?> type)
- Specified by:
lookupTypeLineage
in interfacePersistenceTypeDictionary
-
lookupTypeLineage
public PersistenceTypeLineage lookupTypeLineage(String typeName)
- Specified by:
lookupTypeLineage
in interfacePersistenceTypeDictionary
-
view
public PersistenceTypeDictionaryView view()
- Specified by:
view
in interfacePersistenceTypeDictionary
-
-