Class BinaryReferenceTraverser.InlinedComplexType
java.lang.Object
one.microstream.persistence.binary.types.BinaryReferenceTraverser.InlinedComplexType
- All Implemented Interfaces:
BinaryReferenceTraverser
- Enclosing interface:
- BinaryReferenceTraverser
public static final class BinaryReferenceTraverser.InlinedComplexType extends Object implements BinaryReferenceTraverser
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryReferenceTraverser
BinaryReferenceTraverser.Analyzer, BinaryReferenceTraverser.InlinedComplexType, BinaryReferenceTraverser.ReferenceRangeTraverser, BinaryReferenceTraverser.ReferenceRangeTraverserReversed, BinaryReferenceTraverser.SkippingRangeTraverser, BinaryReferenceTraverser.Static
-
Constructor Summary
Constructors Constructor Description InlinedComplexType()
-
Method Summary
Modifier and Type Method Description long
apply(long address, PersistenceObjectIdAcceptor acceptor)
int
coveredConstantByteCount()
This method reports the amount of bytes that a particular instance of an implementing type covers or advances.boolean
hasReferences()
boolean
isVariableLength()
-
Constructor Details
-
InlinedComplexType
public InlinedComplexType()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBinaryReferenceTraverser
-
coveredConstantByteCount
public final int coveredConstantByteCount()Description copied from interface:BinaryReferenceTraverser
This method reports the amount of bytes that a particular instance of an implementing type covers or advances. For example, an objectId is 8 bytes long. 5 objectIds are 40 bytes long. Skipping 6 bytes (primitives) is 6 bytes long. An implementation handling a variable length structure reports 0 bytes here.- Specified by:
coveredConstantByteCount
in interfaceBinaryReferenceTraverser
-
hasReferences
public final boolean hasReferences()- Specified by:
hasReferences
in interfaceBinaryReferenceTraverser
-
isVariableLength
public final boolean isVariableLength()- Specified by:
isVariableLength
in interfaceBinaryReferenceTraverser
-