Class AbstractBinaryHandlerCustom<T>
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>
- All Implemented Interfaces:
BinaryTypeHandler<T>
,PersistenceDataTypeHolder<Binary>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- Direct Known Subclasses:
AbstractBinaryHandlerAbstractStringBuilder
,AbstractBinaryHandlerCustomCollection
,AbstractBinaryHandlerCustomEnum
,AbstractBinaryHandlerCustomNonReferential
,AbstractBinaryHandlerCustomValue
,AbstractBinaryHandlerNativeArray
,AbstractBinaryHandlerStateless
,BinaryHandlerEntityLayerVersioning
,BinaryHandlerLazyDefault
,BinaryHandlerPersistenceRootsDefault
,BinaryHandlerRootReferenceDefault
,BinaryHandlerSubstituterDefault
,BinaryLegacyTypeHandler.AbstractCustom
,CustomBinaryHandler
public abstract class AbstractBinaryHandlerCustom<T> extends BinaryTypeHandler.Abstract<T>
-
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 AbstractBinaryHandlerCustom()
-
Method Summary
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
hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, 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, initializeState, isSpecificInstanceViable, isSubTypeInstanceViable, isValidEntityType, iterateLoadableReferences, membersInDeclaredOrder, settingMembers, storingMembers, type, updateState, validateEntityType
-
Constructor Details
-
AbstractBinaryHandlerCustom
public AbstractBinaryHandlerCustom()
-
-
Method Details
-
defineValueType
public static final XImmutableSequence<PersistenceTypeDefinitionMemberFieldGeneric> defineValueType(Class<?> valueType) -
CustomField
public static final PersistenceTypeDefinitionMemberFieldGenericSimple CustomField(Class<?> type, String name) -
CustomField
public static final PersistenceTypeDefinitionMemberFieldGenericSimple CustomField(Class<?> type, String qualifier, String name) -
chars
-
bytes
-
CustomFields
public static final XImmutableSequence<PersistenceTypeDefinitionMemberFieldGeneric> CustomFields(PersistenceTypeDefinitionMemberFieldGeneric... customFields) -
Complex
public static final PersistenceTypeDefinitionMemberFieldGenericComplex Complex(String name, PersistenceTypeDescriptionMemberFieldGeneric... customFields) -
SizedArrayFields
public static final XGettingSequence<? extends PersistenceTypeDefinitionMemberFieldGeneric> SizedArrayFields(PersistenceTypeDefinitionMemberFieldGeneric... preHeaderFields) -
SimpleArrayFields
public static final XGettingSequence<? extends PersistenceTypeDefinitionMemberFieldGeneric> SimpleArrayFields(PersistenceTypeDefinitionMemberFieldGeneric... preHeaderFields) -
keyValuesFields
public static final XGettingSequence<? extends PersistenceTypeDefinitionMemberFieldGeneric> keyValuesFields(PersistenceTypeDefinitionMemberFieldGeneric... preHeaderFields) -
isPrimitiveType
public boolean isPrimitiveType() -
allMembers
-
instanceMembers
Description copied from interface:PersistenceTypeDefinition
Enum (unique elements with order), usingPersistenceTypeDescriptionMember.identityHashEqualator()
. Contains all persistent members (similar, but not identical to fields) in persistent order, which can differ from the declaration order. -
membersPersistedLengthMinimum
public long membersPersistedLengthMinimum() -
membersPersistedLengthMaximum
public long membersPersistedLengthMaximum() -
store
public abstract void store(Binary data, T instance, long objectId, PersistenceStoreHandler<Binary> handler) -
iterateInstanceReferences
-
create
-
complete
Description copied from interface:PersistenceTypeHandler
Completes an initially built instance after all loaded instances have been built. E.g. can be used to cause a hash collection to hash all its initially collected entries after their instances have been built. -
iterateMemberTypes
Description copied from interface:PersistenceTypeHandler
Iterates the types of persistent members (e.g. non-transientField
s). The same type may occur more than once. The order in which the types are provided is undefined, i.e. depending on the implementation.
-