Class BinaryPersistence
- java.lang.Object
-
- org.eclipse.serializer.persistence.types.Persistence
-
- org.eclipse.serializer.persistence.binary.types.BinaryPersistence
-
public final class BinaryPersistence extends Persistence
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.serializer.persistence.types.Persistence
Persistence.IdType
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intbinaryValueSize(Class<?> type)static int[]calculateBinarySizes(org.eclipse.serializer.collections.types.XGettingSequence<Field> fields)static PersistenceCustomTypeHandlerRegistry<Binary>createDefaultCustomTypeHandlerRegistry(org.eclipse.serializer.reference.Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator, org.eclipse.serializer.collections.types.XGettingCollection<? extends PersistenceTypeHandler<Binary,?>> customHandlers)static BinaryFieldLengthResolvercreateFieldLengthResolver()static org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>>createNativeHandlersReferencingTypes(org.eclipse.serializer.reference.Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator)static org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>>createNativeHandlersValueTypes(org.eclipse.serializer.reference.Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator)static org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>>defaultCustomHandlers(PersistenceSizedArrayLengthController controller)static BinaryPersistenceFoundation<?>Foundation()static BinaryPersistenceFoundation<?>Foundation(org.eclipse.serializer.functional.InstanceDispatcherLogic dispatcher)static voiditerateInstanceReferences(PersistenceFunction iterator, Object instance, long[] referenceOffsets)static org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>>lazyCollectionsHandlers()static org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>>platformDependentHandlers()static PersistenceTypeDictionaryprovideTypeDictionaryFromFile(org.eclipse.serializer.afs.types.AFile dictionaryFile)static longresolveFieldBinaryLength(Class<?> fieldType)static longresolvePrimitiveFieldBinaryLength(Class<?> primitiveType)-
Methods inherited from class org.eclipse.serializer.persistence.types.Persistence
classTypeId, collectEnumConstants, createDefaultTypeLookup, customRootIdentifier, defaultBoundConstantId, defaultFieldEvaluatorCollection, defaultFieldEvaluatorEnum, defaultFieldEvaluatorPersistable, defaultFieldEvaluatorPersister, defaultFilenameTypeDictionary, defaultReferenceFieldEagerEvaluator, defaultRootIdentifier, defaultStartConstantId, defaultStartObjectId, defaultStartTypeId, defaultTypeEvaluatorPersistable, deriveEnumRootIdentifier, derivePersistentTypeName, derivePersistentTypeName, derivePersistentTypeNameEnum, engineName, enumRootIdentifierStart, getNativeTypeId, isEnumRootIdentifier, isHandleableCollectionField, isHandleableEnumField, isNativeType, isPersistable, isPersistableField, isPersisterField, isPotentialEnumRootIdentifier, isUnpersistable, iterateJavaBasicTypes, iterateReferences, iterateReferences, iterateReferences, iterateReferencesIterable, iterateReferencesMap, objectIdLabel, objectIdShortLabel, objectIdType, parseEnumRootIdentifierTypeId, parseRefactoringMappings, readRefactoringMappings, readRefactoringMappings, readRefactoringMappings, readRefactoringMappings, readRefactoringMappings, readRefactoringMappings, RefactoringMapping, RefactoringMapping, RefactoringMapping, RefactoringMapping, RefactoringMapping, RefactoringMapping, registerJavaBasicTypes, registerJavaConstants, registerJavaNatives, resolveEnumeratedClassIdentifierSeparatedType, resolveType, resolveType, rootIdentifier, searchProvidedTypeHandler, standardCharset, substituteClassIdentifierSeparator, tryResolveType, typeMismatchValidatorFailing, typeMismatchValidatorNoOp, unpersistableTypes, validateObjectId, validateTypeId
-
-
-
-
Method Detail
-
Foundation
public static BinaryPersistenceFoundation<?> Foundation()
-
Foundation
public static BinaryPersistenceFoundation<?> Foundation(org.eclipse.serializer.functional.InstanceDispatcherLogic dispatcher)
-
createDefaultCustomTypeHandlerRegistry
public static final PersistenceCustomTypeHandlerRegistry<Binary> createDefaultCustomTypeHandlerRegistry(org.eclipse.serializer.reference.Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator, org.eclipse.serializer.collections.types.XGettingCollection<? extends PersistenceTypeHandler<Binary,?>> customHandlers)
-
createNativeHandlersValueTypes
public static final org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>> createNativeHandlersValueTypes(org.eclipse.serializer.reference.Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator)
-
createNativeHandlersReferencingTypes
public static final org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>> createNativeHandlersReferencingTypes(org.eclipse.serializer.reference.Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator)
-
defaultCustomHandlers
public static final org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>> defaultCustomHandlers(PersistenceSizedArrayLengthController controller)
-
lazyCollectionsHandlers
public static final org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>> lazyCollectionsHandlers()
-
platformDependentHandlers
public static final org.eclipse.serializer.collections.types.XGettingSequence<? extends PersistenceTypeHandler<Binary,?>> platformDependentHandlers()
-
resolveFieldBinaryLength
public static final long resolveFieldBinaryLength(Class<?> fieldType)
-
resolvePrimitiveFieldBinaryLength
public static final long resolvePrimitiveFieldBinaryLength(Class<?> primitiveType)
-
createFieldLengthResolver
public static final BinaryFieldLengthResolver createFieldLengthResolver()
-
provideTypeDictionaryFromFile
public static PersistenceTypeDictionary provideTypeDictionaryFromFile(org.eclipse.serializer.afs.types.AFile dictionaryFile)
-
binaryValueSize
public static final int binaryValueSize(Class<?> type)
-
calculateBinarySizes
public static int[] calculateBinarySizes(org.eclipse.serializer.collections.types.XGettingSequence<Field> fields)
-
iterateInstanceReferences
public static final void iterateInstanceReferences(PersistenceFunction iterator, Object instance, long[] referenceOffsets)
-
-