Package one.microstream.java.lang
Class BinaryHandlerNativeArrayObject<A>
- 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<A>
-
- one.microstream.java.lang.AbstractBinaryHandlerNativeArray<A>
-
- one.microstream.java.lang.BinaryHandlerNativeArrayObject<A>
-
- All Implemented Interfaces:
BinaryTypeHandler<A>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,A>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerNativeArrayObject<A> extends AbstractBinaryHandlerNativeArray<A>
-
-
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.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 BinaryHandlerNativeArrayObject()
-
Method Summary
Modifier and Type Method Description A
create(Binary data, PersistenceLoadHandler handler)
Class<A>
getArrayType()
boolean
hasInstanceReferences()
boolean
hasPersistedReferences()
void
iterateInstanceReferences(A instance, PersistenceFunction iterator)
void
iterateLoadableReferences(Binary data, PersistenceReferenceLoader iterator)
static <T> BinaryHandlerNativeArrayObject<T>
New(Class<T> type)
void
store(Binary data, A instance, long objectId, PersistenceStoreHandler handler)
void
updateState(Binary data, A instance, PersistenceLoadHandler handler)
-
Methods inherited from class one.microstream.java.lang.AbstractBinaryHandlerNativeArray
hasPersistedVariableLength, hasVaryingPersistedLengthInstances
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, chars, complete, Complex, CustomField, CustomField, CustomFields, defineValueType, instanceMembers, isPrimitiveType, 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.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, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Method Detail
-
New
public static <T> BinaryHandlerNativeArrayObject<T> New(Class<T> type)
-
store
public final void store(Binary data, A instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<Binary,A>
- Specified by:
store
in classAbstractBinaryHandlerCustom<A>
-
create
public final A create(Binary data, PersistenceLoadHandler handler)
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,A>
- Specified by:
create
in classAbstractBinaryHandlerCustom<A>
-
updateState
public final void updateState(Binary data, A instance, PersistenceLoadHandler handler)
-
iterateInstanceReferences
public final void iterateInstanceReferences(A instance, PersistenceFunction iterator)
- Specified by:
iterateInstanceReferences
in interfacePersistenceTypeHandler<Binary,A>
- Overrides:
iterateInstanceReferences
in classAbstractBinaryHandlerCustom<A>
-
iterateLoadableReferences
public final void iterateLoadableReferences(Binary data, PersistenceReferenceLoader iterator)
-
hasInstanceReferences
public final boolean hasInstanceReferences()
-
hasPersistedReferences
public final boolean hasPersistedReferences()
-
-