Class BinaryHandlerStatelessConstant<T>
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceTypeHandler.Abstract<Binary,T>
-
- one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryHandlerTrivial<T>
-
- one.microstream.persistence.binary.internal.BinaryHandlerStatelessConstant<T>
-
- All Implemented Interfaces:
BinaryTypeHandler<T>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerStatelessConstant<T> extends AbstractBinaryHandlerTrivial<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryTypeHandler
BinaryTypeHandler.Abstract<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
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
PersistenceTypeHandler.Abstract<D,T>
-
-
Constructor Summary
Constructors Constructor Description BinaryHandlerStatelessConstant()
-
Method Summary
Modifier and Type Method Description T
create(Binary data, PersistenceLoadHandler handler)
static <T> BinaryHandlerStatelessConstant<T>
New(T constantInstance)
void
store(Binary data, T instance, long objectId, PersistenceStoreHandler handler)
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerTrivial
allMembers, complete, hasInstanceReferences, hasPersistedReferences, hasVaryingPersistedLengthInstances, instanceMembers, isPrimitiveType, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, membersPersistedLengthMaximum, membersPersistedLengthMinimum, updateState
-
Methods inherited from class one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract
declaredField, declaredField
-
Methods inherited from class one.microstream.persistence.types.PersistenceTypeHandler.Abstract
declaredField, declaredFields, initialize, toString, type, typeId, typeName, validateAndImmure
-
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
hasPersistedVariableLength, runtimeTypeName, toRuntimeTypeIdentifier, typeId, typeName
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
instancePrimitiveMembers, instanceReferenceMembers, toTypeIdentifier
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
collectEnumConstants, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, initialize, initializeState, isSpecificInstanceViable, isSubTypeInstanceViable, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Method Detail
-
New
public static <T> BinaryHandlerStatelessConstant<T> New(T constantInstance)
-
store
public final void store(Binary data, T instance, long objectId, PersistenceStoreHandler handler)
-
create
public final T create(Binary data, PersistenceLoadHandler handler)
-
-