Class BinaryPersistence
- java.lang.Object
-
- one.microstream.persistence.types.Persistence
-
- one.microstream.persistence.binary.types.BinaryPersistence
-
public final class BinaryPersistence extends Persistence
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class one.microstream.persistence.types.Persistence
Persistence.IdType
-
-
Constructor Summary
Constructors Constructor Description BinaryPersistence()
-
Method Summary
-
Methods inherited from class one.microstream.persistence.types.Persistence
classTypeId, collectEnumConstants, createDefaultTypeLookup, customRootIdentifier, defaultBoundConstantId, defaultFieldEvaluatorCollection, defaultFieldEvaluatorEnum, defaultFieldEvaluatorPersistable, defaultFilenameTypeDictionary, defaultReferenceFieldEagerEvaluator, defaultRootIdentifier, defaultStartConstantId, defaultStartObjectId, defaultStartTypeId, defaultTypeEvaluatorPersistable, deriveEnumRootIdentifier, derivePersistentTypeName, derivePersistentTypeName, derivePersistentTypeNameEnum, enumRootIdentifierStart, getCached, getNativeTypeId, isEnumRootIdentifier, isHandleableCollectionField, isHandleableEnumField, isNativeType, isPersistable, isPotentialEnumRootIdentifier, isUnpersistable, iterateJavaBasicTypes, iterateReferences, iterateReferences, iterateReferencesIterable, iterateReferencesMap, nullId, objectIdLabel, objectIdShortLabel, objectIdType, parseEnumRootIdentifierTypeId, readRefactoringMappings, RefactoringMapping, RefactoringMapping, registerJavaBasicTypes, registerJavaConstants, registerJavaNatives, resolveEnumeratedClassIdentifierSeparatedType, resolveType, resolveType, RootResolverProvider, RootResolverProvider, RootResolverProvider, RootResolverProvider, RootResolverProvider, standardCharset, substituteClassIdentifierSeparator, tryResolveType, typeMismatchValidatorFailing, typeMismatchValidatorNoOp, unpersistableTypes, validateObjectId, validateTypeId
-
-
-
-
Method Detail
-
Foundation
public static BinaryPersistenceFoundation<?> Foundation()
-
Foundation
public static BinaryPersistenceFoundation<?> Foundation(InstanceDispatcherLogic dispatcher)
-
createDefaultCustomTypeHandlerRegistry
public static final PersistenceCustomTypeHandlerRegistry<Binary> createDefaultCustomTypeHandlerRegistry(Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator, XGettingCollection<? extends PersistenceTypeHandler<Binary,?>> customHandlers)
-
createNativeHandlers
public static final XGettingSequence<? extends PersistenceTypeHandler<Binary,?>> createNativeHandlers(Referencing<PersistenceTypeHandlerManager<Binary>> typeHandlerManager, PersistenceSizedArrayLengthController controller, PersistenceTypeHandlerCreator<Binary> typeHandlerCreator)
-
defaultCustomHandlers
public static final XGettingSequence<? extends PersistenceTypeHandler<Binary,?>> defaultCustomHandlers(PersistenceSizedArrayLengthController controller)
-
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(File dictionaryFile)
-
calculateBinarySizes
public static int[] calculateBinarySizes(XGettingSequence<Field> fields)
-
iterateInstanceReferences
public static final void iterateInstanceReferences(PersistenceFunction iterator, Object instance, long[] referenceOffsets)
-
-