Package one.microstream.storage.types
Interface StorageEntityTypeHandler
-
- All Superinterfaces:
one.microstream.persistence.types.PersistenceTypeDefinition,one.microstream.persistence.types.PersistenceTypeDescription,one.microstream.persistence.types.PersistenceTypeIdentity,one.microstream.persistence.types.PersistenceTypeIdOwner,one.microstream.persistence.types.PersistenceTypeLink
- All Known Implementing Classes:
StorageEntityTypeHandler.Default
public interface StorageEntityTypeHandler extends one.microstream.persistence.types.PersistenceTypeDefinition
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStorageEntityTypeHandler.Default
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanhasPersistedVariableLength()booleanisValidEntityGuaranteedType(long length, long objectId)voiditerateReferences(long entityCacheAddress, one.microstream.persistence.types.PersistenceObjectIdAcceptor acceptor)longmaximumLength()longminimumLength()longsimpleReferenceCount()voidvalidateEntity(long length, long typeId, long objectId)voidvalidateEntityGuaranteedType(long length, long objectId)-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
allMembers, hasPersistedReferences, hasVaryingPersistedLengthInstances, instanceMembers, isPrimitiveType, membersPersistedLengthMaximum, membersPersistedLengthMinimum, runtimeTypeName, toRuntimeTypeIdentifier, type, typeId, typeName
-
-
-
-
Method Detail
-
simpleReferenceCount
long simpleReferenceCount()
-
iterateReferences
void iterateReferences(long entityCacheAddress, one.microstream.persistence.types.PersistenceObjectIdAcceptor acceptor)
-
validateEntity
void validateEntity(long length, long typeId, long objectId)
-
isValidEntityGuaranteedType
boolean isValidEntityGuaranteedType(long length, long objectId)
-
validateEntityGuaranteedType
void validateEntityGuaranteedType(long length, long objectId)
-
minimumLength
long minimumLength()
-
maximumLength
long maximumLength()
-
hasPersistedVariableLength
default boolean hasPersistedVariableLength()
- Specified by:
hasPersistedVariableLengthin interfaceone.microstream.persistence.types.PersistenceTypeDefinition
-
-