Class BinaryField.DefaultReference<T,R>
java.lang.Object
one.microstream.persistence.binary.types.BinaryField.Abstract<T>
one.microstream.persistence.binary.types.BinaryField.DefaultReference<T,R>
- All Implemented Interfaces:
BinaryField<T>
,BinaryField.Initializable<T>
,PersistenceTypeDefinitionMember
,PersistenceTypeDefinitionMemberField
,PersistenceTypeDefinitionMemberFieldGeneric
,PersistenceTypeDescriptionMember
,PersistenceTypeDescriptionMemberField
,PersistenceTypeDescriptionMemberFieldGeneric
- Enclosing interface:
- BinaryField<T>
public static final class BinaryField.DefaultReference<T,R> extends BinaryField.Abstract<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryField
BinaryField.Abstract<T>, BinaryField.Default_boolean<T>, BinaryField.Default_byte<T>, BinaryField.Default_char<T>, BinaryField.Default_double<T>, BinaryField.Default_float<T>, BinaryField.Default_int<T>, BinaryField.Default_long<T>, BinaryField.Default_short<T>, BinaryField.DefaultReference<T,R>, BinaryField.Defaults, BinaryField.Initializable<T>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionMember
PersistenceTypeDescriptionMember.IdentityHashEqualator
-
Method Summary
Modifier and Type Method Description long
calculateBinaryLength(T instance)
boolean
canSet()
BinaryField<T>
copyForName(String qualifier, String name)
<L extends PersistenceReferenceLoader>
LiterateLoadableReferences(Binary data, L loader)
<F extends PersistenceFunction>
FiterateReferences(Object instance, F iterator)
R
readReference(Binary data, PersistenceLoadHandler handler)
void
setToInstance(T instance, Binary data, PersistenceLoadHandler handler)
void
storeFromInstance(T instance, Binary data, PersistenceStoreHandler<Binary> handler)
void
validateState(T instance, Binary data, PersistenceLoadHandler handler)
Methods inherited from class one.microstream.persistence.binary.types.BinaryField.Abstract
actual, assembleTypeDescription, binaryOffset, createDefinitionMember, hasReferences, identifier, initializeIdentifier, initializeOffset, isEnumConstant, isPrimitive, isPrimitiveDefinition, isReference, isValidPersistentLength, name, persistentMaximumLength, persistentMinimumLength, qualifier, throwValidationException, type, typeName, validatePersistentLength
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.persistence.binary.types.BinaryField
copyForName, read_boolean, read_byte, read_char, read_double, read_float, read_int, read_long, read_short
Methods inherited from interface one.microstream.persistence.binary.types.BinaryField.Initializable
initializeIdentifierOptional
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinitionMember
runtimeQualifier
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinitionMemberField
field
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionMember
equalsDescription, equalsStructure, isFixedLength, isIdentical, isVariableLength
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescriptionMemberField
isInstanceMember
-
Method Details
-
calculateBinaryLength
-
copyForName
-
storeFromInstance
public final void storeFromInstance(T instance, Binary data, PersistenceStoreHandler<Binary> handler) -
readReference
-
canSet
public final boolean canSet() -
setToInstance
-
iterateReferences
-
iterateLoadableReferences
public final <L extends PersistenceReferenceLoader> L iterateLoadableReferences(Binary data, L loader) -
validateState
-