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<M,T>
-
-
Constructor Summary
Constructors Constructor Description BinaryHandlerNativeArrayObject()
-
Method Summary
Modifier and Type Method Description A
create(Binary bytes, PersistenceObjectIdResolver idResolver)
Class<A>
getArrayType()
boolean
hasInstanceReferences()
boolean
hasPersistedReferences()
void
iterateInstanceReferences(A instance, PersistenceFunction iterator)
void
iterateLoadableReferences(Binary bytes, PersistenceObjectIdAcceptor iterator)
static <T> BinaryHandlerNativeArrayObject<T>
New(Class<T> type)
void
store(Binary bytes, A instance, long objectId, PersistenceStoreHandler handler)
void
update(Binary bytes, A instance, PersistenceObjectIdResolver idResolver)
-
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, isSpecificInstanceViable, isSubTypeInstanceViable, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Method Detail
-
New
public static <T> BinaryHandlerNativeArrayObject<T> New(Class<T> type)
-
store
public final void store(Binary bytes, 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 bytes, PersistenceObjectIdResolver idResolver)
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,A>
- Specified by:
create
in classAbstractBinaryHandlerCustom<A>
-
update
public final void update(Binary bytes, A instance, PersistenceObjectIdResolver idResolver)
- Specified by:
update
in interfacePersistenceTypeHandler<Binary,A>
- Overrides:
update
in classAbstractBinaryHandlerCustom<A>
-
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 bytes, PersistenceObjectIdAcceptor iterator)
-
hasInstanceReferences
public final boolean hasInstanceReferences()
-
hasPersistedReferences
public final boolean hasPersistedReferences()
-
-