Class BinaryReferenceTraverser.ReferenceRangeTraverser
java.lang.Object
one.microstream.persistence.binary.types.BinaryReferenceTraverser.ReferenceRangeTraverser
- All Implemented Interfaces:
BinaryReferenceTraverser
- Enclosing interface:
- BinaryReferenceTraverser
public static final class BinaryReferenceTraverser.ReferenceRangeTraverser 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 ReferenceRangeTraverser()
-
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
-
ReferenceRangeTraverser
public ReferenceRangeTraverser()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBinaryReferenceTraverser
-
coveredConstantByteCount
public 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 boolean hasReferences()- Specified by:
hasReferences
in interfaceBinaryReferenceTraverser
-
isVariableLength
public boolean isVariableLength()- Specified by:
isVariableLength
in interfaceBinaryReferenceTraverser
-