Class BinaryLegacyTypeHandlerGenericEnum<T>
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceLegacyTypeHandler.Abstract<Binary,T>
-
- one.microstream.persistence.binary.types.BinaryLegacyTypeHandler.Abstract<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryLegacyTypeHandlerTranslating<T>
-
- one.microstream.persistence.binary.types.AbstractBinaryLegacyTypeHandlerReflective<T>
-
- one.microstream.persistence.binary.types.BinaryLegacyTypeHandlerGenericEnum<T>
-
- All Implemented Interfaces:
BinaryLegacyTypeHandler<T>
,PersistenceLegacyTypeHandler<Binary,T>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- Direct Known Subclasses:
BinaryLegacyTypeHandlerGenericEnumMapped
public class BinaryLegacyTypeHandlerGenericEnum<T> extends AbstractBinaryLegacyTypeHandlerReflective<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryLegacyTypeHandler
BinaryLegacyTypeHandler.Abstract<T>, BinaryLegacyTypeHandler.AbstractCustom<T>
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceLegacyTypeHandler
PersistenceLegacyTypeHandler.Abstract<M,T>
-
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
-
-
Constructor Summary
Constructors Constructor Description BinaryLegacyTypeHandlerGenericEnum()
-
Method Summary
Modifier and Type Method Description int
getOrdinal(Binary bytes)
static <T> BinaryLegacyTypeHandlerGenericEnum<T>
New(PersistenceTypeDefinition typeDefinition, PersistenceTypeHandler<Binary,T> typeHandler, XGettingTable<Long,BinaryValueSetter> translatorsWithTargetOffsets, PersistenceLegacyTypeHandlingListener<Binary> listener, boolean switchByteOrder)
void
update(Binary rawData, T instance, PersistenceObjectIdResolver idResolver)
-
Methods inherited from class one.microstream.persistence.binary.types.AbstractBinaryLegacyTypeHandlerReflective
complete, typeHandler
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryLegacyTypeHandlerTranslating
collectEnumConstants, create, deriveReferenceTraversers, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, hasInstanceReferences, isSpecificInstanceViable, isSubTypeInstanceViable, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, membersInDeclaredOrder, settingMembers, storingMembers, toTargetOffsets, toTranslators, type
-
Methods inherited from class one.microstream.persistence.types.PersistenceLegacyTypeHandler.Abstract
allMembers, hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, instanceMembers, isPrimitiveType, legacyTypeDefinition, membersPersistedLengthMaximum, membersPersistedLengthMinimum, runtimeTypeName, typeId, typeName
-
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.binary.types.BinaryLegacyTypeHandler
initialize, store
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, isPrimitiveType, membersPersistedLengthMaximum, membersPersistedLengthMinimum, runtimeTypeName, toRuntimeTypeIdentifier, typeId, typeName
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
toTypeIdentifier
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
allMembers, instanceMembers
-
-
-
-
Method Detail
-
New
public static <T> BinaryLegacyTypeHandlerGenericEnum<T> New(PersistenceTypeDefinition typeDefinition, PersistenceTypeHandler<Binary,T> typeHandler, XGettingTable<Long,BinaryValueSetter> translatorsWithTargetOffsets, PersistenceLegacyTypeHandlingListener<Binary> listener, boolean switchByteOrder)
-
getOrdinal
public int getOrdinal(Binary bytes)
-
update
public void update(Binary rawData, T instance, PersistenceObjectIdResolver idResolver)
- Specified by:
update
in interfacePersistenceTypeHandler<Binary,T>
- Overrides:
update
in classAbstractBinaryLegacyTypeHandlerReflective<T>
-
-