Class BinaryReferenceTraverser.SkippingRangeTraverser
- java.lang.Object
-
- one.microstream.persistence.binary.types.BinaryReferenceTraverser.SkippingRangeTraverser
-
- All Implemented Interfaces:
BinaryReferenceTraverser
- Enclosing interface:
- BinaryReferenceTraverser
public static final class BinaryReferenceTraverser.SkippingRangeTraverser 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 SkippingRangeTraverser()
-
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()
-
-
-
Method Detail
-
apply
public final long apply(long address, PersistenceObjectIdAcceptor acceptor)
- 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
-
-