Class PersistenceTypeHandler.Abstract<D,T>
java.lang.Object
one.microstream.persistence.types.PersistenceTypeHandler.Abstract<D,T>
- All Implemented Interfaces:
PersistenceDataTypeHolder<D>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<D,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- Direct Known Subclasses:
BinaryTypeHandler.Abstract
- Enclosing interface:
- PersistenceTypeHandler<D,T>
public abstract static class PersistenceTypeHandler.Abstract<D,T> extends Object implements PersistenceTypeHandler<D,T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceDataTypeHolder
PersistenceDataTypeHolder.Default<D>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
PersistenceTypeDefinition.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
PersistenceTypeDescription.Identity
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
PersistenceTypeHandler.Abstract<D,T>
-
Constructor Summary
Constructors Constructor Description Abstract()
-
Method Summary
Modifier and Type Method Description static PersistenceTypeDefinitionMemberFieldReflective
declaredField(Field field, PersistenceFieldLengthResolver lengthResolver)
static XImmutableSequence<PersistenceTypeDescriptionMemberFieldReflective>
declaredFields(PersistenceTypeDescriptionMemberFieldReflective... declaredFields)
PersistenceTypeHandler<D,T>
initialize(long typeId)
String
toString()
Class<T>
type()
long
typeId()
The biuniquely associated id value identifying a type description.String
typeName()
The name of the type as defined in the type dictionary.static <D extends PersistenceTypeDefinitionMember>
XImmutableEnum<D>validateAndImmure(XGettingSequence<D> members)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, isPrimitiveType, membersPersistedLengthMaximum, membersPersistedLengthMinimum, runtimeTypeName, toRuntimeTypeIdentifier
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
instancePrimitiveMembers, instanceReferenceMembers, toTypeIdentifier
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
allMembers, collectEnumConstants, complete, create, dataType, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, initializeState, instanceMembers, isSpecificInstanceViable, isSubTypeInstanceViable, isValidEntityType, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, membersInDeclaredOrder, settingMembers, store, storingMembers, updateState, validateEntityType
-
Constructor Details
-
Abstract
public Abstract()
-
-
Method Details
-
validateAndImmure
public static <D extends PersistenceTypeDefinitionMember> XImmutableEnum<D> validateAndImmure(XGettingSequence<D> members) -
declaredField
public static final PersistenceTypeDefinitionMemberFieldReflective declaredField(Field field, PersistenceFieldLengthResolver lengthResolver) -
declaredFields
public static final XImmutableSequence<PersistenceTypeDescriptionMemberFieldReflective> declaredFields(PersistenceTypeDescriptionMemberFieldReflective... declaredFields) -
type
- Specified by:
type
in interfacePersistenceTypeDefinition
- Specified by:
type
in interfacePersistenceTypeHandler<D,T>
- Specified by:
type
in interfacePersistenceTypeLink
-
typeId
public final long typeId()Description copied from interface:PersistenceTypeDefinition
The biuniquely associated id value identifying a type description.- Specified by:
typeId
in interfacePersistenceTypeDefinition
- Specified by:
typeId
in interfacePersistenceTypeIdentity
- Specified by:
typeId
in interfacePersistenceTypeIdOwner
- Specified by:
typeId
in interfacePersistenceTypeLink
-
typeName
Description copied from interface:PersistenceTypeDefinition
The name of the type as defined in the type dictionary. This name may never change for a given typeId, even if the runtimePersistenceTypeDefinition.runtimeTypeName()
did to reflect a design-level type renaming.- Specified by:
typeName
in interfacePersistenceTypeDefinition
- Specified by:
typeName
in interfacePersistenceTypeDescription
- Specified by:
typeName
in interfacePersistenceTypeIdentity
-
initialize
- Specified by:
initialize
in interfacePersistenceTypeHandler<D,T>
-
toString
-