Package one.microstream.java.io
Class BinaryHandlerFile
java.lang.Object
one.microstream.persistence.types.PersistenceTypeHandler.Abstract<Binary,T>
one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract<T>
one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom<T>
one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValue<T,S>
one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValueVariableLength<File,String>
one.microstream.java.io.BinaryHandlerFile
- All Implemented Interfaces:
BinaryTypeHandler<File>
,ValidatingBinaryHandler<File,String>
,PersistenceDataTypeHolder<Binary>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,File>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerFile extends AbstractBinaryHandlerCustomValueVariableLength<File,String>
-
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.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 BinaryHandlerFile()
-
Method Summary
Modifier and Type Method Description File
create(Binary data, PersistenceLoadHandler handler)
String
getValidationStateFromBinary(Binary data)
String
getValidationStateFromInstance(File instance)
static BinaryHandlerFile
New()
void
store(Binary data, File instance, long objectId, PersistenceStoreHandler<Binary> handler)
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValueVariableLength
hasPersistedVariableLength, hasVaryingPersistedLengthInstances
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValue
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.binary.types.BinaryTypeHandler
dataType
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, isValidEntityType, membersInDeclaredOrder, settingMembers, storingMembers, type, validateEntityType
Methods inherited from interface one.microstream.persistence.binary.types.ValidatingBinaryHandler
throwInconsistentStateException, validateState, validateStates
-
Constructor Details
-
BinaryHandlerFile
public BinaryHandlerFile()
-
-
Method Details
-
New
-
store
public void store(Binary data, File instance, long objectId, PersistenceStoreHandler<Binary> handler)- Specified by:
store
in interfacePersistenceTypeHandler<Binary,File>
- Specified by:
store
in classAbstractBinaryHandlerCustom<File>
-
create
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,File>
- Specified by:
create
in classAbstractBinaryHandlerCustom<File>
-
getValidationStateFromInstance
-
getValidationStateFromBinary
-