Package one.microstream.java.io
Class BinaryHandlerFile
- java.lang.Object
-
- All Implemented Interfaces:
BinaryTypeHandler<File>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,File>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerFile extends AbstractBinaryHandlerCustomValueVariableLength<File>
-
-
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 BinaryHandlerFile()
-
Method Summary
Modifier and Type Method Description File
create(Binary data, PersistenceLoadHandler handler)
static BinaryHandlerFile
New()
void
store(Binary data, File instance, long objectId, PersistenceStoreHandler handler)
void
validateState(Binary data, File instance, PersistenceLoadHandler handler)
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValueVariableLength
hasPersistedVariableLength, hasVaryingPersistedLengthInstances
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValue
hasInstanceReferences, hasPersistedReferences, initializeState, iterateLoadableReferences, updateState
-
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 BinaryHandlerFile New()
-
store
public void store(Binary data, File instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<Binary,File>
- Specified by:
store
in classAbstractBinaryHandlerCustom<File>
-
create
public File create(Binary data, PersistenceLoadHandler handler)
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,File>
- Specified by:
create
in classAbstractBinaryHandlerCustom<File>
-
validateState
public void validateState(Binary data, File instance, PersistenceLoadHandler handler)
- Specified by:
validateState
in classAbstractBinaryHandlerCustomValue<File>
-
-