Package one.microstream.java.util
Class BinaryHandlerDate
- java.lang.Object
-
- All Implemented Interfaces:
BinaryTypeHandler<Date>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,Date>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerDate extends AbstractBinaryHandlerCustomValueFixedLength<Date>
-
-
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 BinaryHandlerDate()
-
Method Summary
Modifier and Type Method Description Date
create(Binary data, PersistenceLoadHandler handler)
void
initializeState(Binary data, Date instance, PersistenceLoadHandler handler)
static BinaryHandlerDate
New()
void
store(Binary data, Date instance, long objectId, PersistenceStoreHandler handler)
void
updateState(Binary data, Date instance, PersistenceLoadHandler handler)
void
validateState(Binary data, Date instance, PersistenceLoadHandler handler)
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValueFixedLength
hasPersistedVariableLength, hasVaryingPersistedLengthInstances
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValue
hasInstanceReferences, hasPersistedReferences, iterateLoadableReferences
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, chars, complete, Complex, CustomField, CustomField, CustomFields, defineValueType, instanceMembers, isPrimitiveType, iterateInstanceReferences, iterateMemberTypes, keyValuesFields, membersPersistedLengthMaximum, membersPersistedLengthMinimum, SimpleArrayFields, SizedArrayFields
-
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
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, isSpecificInstanceViable, isSubTypeInstanceViable, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Method Detail
-
New
public static BinaryHandlerDate New()
-
store
public final void store(Binary data, Date instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<Binary,Date>
- Specified by:
store
in classAbstractBinaryHandlerCustom<Date>
-
create
public final Date create(Binary data, PersistenceLoadHandler handler)
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,Date>
- Specified by:
create
in classAbstractBinaryHandlerCustom<Date>
-
initializeState
public final void initializeState(Binary data, Date instance, PersistenceLoadHandler handler)
- Specified by:
initializeState
in interfacePersistenceTypeHandler<Binary,Date>
- Overrides:
initializeState
in classAbstractBinaryHandlerCustomValue<Date>
-
updateState
public final void updateState(Binary data, Date instance, PersistenceLoadHandler handler)
- Specified by:
updateState
in interfacePersistenceTypeHandler<Binary,Date>
- Overrides:
updateState
in classAbstractBinaryHandlerCustomValue<Date>
-
validateState
public void validateState(Binary data, Date instance, PersistenceLoadHandler handler)
- Specified by:
validateState
in classAbstractBinaryHandlerCustomValue<Date>
-
-