Class BinaryHandlerGenericType<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.AbstractBinaryHandlerReflective<T>
one.microstream.persistence.binary.internal.BinaryHandlerGenericType<T>
- All Implemented Interfaces:
BinaryTypeHandler<T>
,PersistenceDataTypeHolder<Binary>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeHandlerGeneric<Binary,T>
,PersistenceTypeHandlerReflective<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerGenericType<T> extends AbstractBinaryHandlerReflective<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 Modifier Constructor Description protected
BinaryHandlerGenericType(Class<T> type, String typeName, XGettingEnum<Field> persistableFields, XGettingEnum<Field> persisterFields, PersistenceFieldLengthResolver lengthResolver, PersistenceEagerStoringFieldEvaluator eagerStoringFieldEvaluator, PersistenceTypeInstantiator<Binary,T> instantiator, boolean switchByteOrder)
-
Method Summary
Modifier and Type Method Description T
create(Binary data, PersistenceLoadHandler handler)
static <T> BinaryHandlerGenericType<T>
New(Class<T> type, String typeName, XGettingEnum<Field> persistableFields, XGettingEnum<Field> persisterFields, PersistenceFieldLengthResolver lengthResolver, PersistenceEagerStoringFieldEvaluator eagerStoringFieldEvaluator, PersistenceTypeInstantiator<Binary,T> instantiator, boolean switchByteOrder)
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerReflective
allMembers, calculcateBinaryContentLength, complete, createStorers, createTypeDescriptionMembers, deriveAllMembers, deriveMembers, deriveSetter, deriveSetters, equal, filter, filterPrimitiveMembers, filterReferenceMembers, filterSettingMembers, hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, initializeSettingMemoryOffsets, initializeStoringMemoryOffsets, initializeStoringRefMemOffsets, instanceFields, instanceMembers, instancePrimitiveFields, instanceReferenceFields, isPrimitiveType, isSwitchedByteOrder, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, MemberEnum, MemberEnum, membersInDeclaredOrder, membersPersistedLengthMaximum, membersPersistedLengthMinimum, objectFieldOffsets, settingMembers, store, storingMembers, unbox, updateState
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, deriveTypeName, initialize, internalInitialize, toString, type, typeId, typeName, validateAndImmure, validateInstance
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, initializeState, isSpecificInstanceViable, isSubTypeInstanceViable, isValidEntityType, type, validateEntityType
-
Constructor Details
-
BinaryHandlerGenericType
protected BinaryHandlerGenericType(Class<T> type, String typeName, XGettingEnum<Field> persistableFields, XGettingEnum<Field> persisterFields, PersistenceFieldLengthResolver lengthResolver, PersistenceEagerStoringFieldEvaluator eagerStoringFieldEvaluator, PersistenceTypeInstantiator<Binary,T> instantiator, boolean switchByteOrder)
-
-
Method Details
-
New
public static <T> BinaryHandlerGenericType<T> New(Class<T> type, String typeName, XGettingEnum<Field> persistableFields, XGettingEnum<Field> persisterFields, PersistenceFieldLengthResolver lengthResolver, PersistenceEagerStoringFieldEvaluator eagerStoringFieldEvaluator, PersistenceTypeInstantiator<Binary,T> instantiator, boolean switchByteOrder) -
create
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,T>
- Specified by:
create
in classAbstractBinaryHandlerReflective<T>
-