Package com.db4o.internal.ids
Class BTreeIdSystem.IdSlotMappingHandler
- java.lang.Object
-
- com.db4o.internal.ids.BTreeIdSystem.IdSlotMappingHandler
-
- All Implemented Interfaces:
Comparable4<IdSlotMapping>
,Indexable4<IdSlotMapping>
,LinkLengthAware
- Enclosing class:
- BTreeIdSystem
public static class BTreeIdSystem.IdSlotMappingHandler extends java.lang.Object implements Indexable4<IdSlotMapping>
-
-
Constructor Summary
Constructors Constructor Description IdSlotMappingHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defragIndexEntry(DefragmentContextImpl context)
int
linkLength()
PreparedComparison
prepareComparison(Context context, IdSlotMapping sourceMapping)
creates a prepared comparison to compare multiple objects against one single object.IdSlotMapping
readIndexEntry(Context context, ByteArrayBuffer buffer)
void
writeIndexEntry(Context context, ByteArrayBuffer buffer, IdSlotMapping mapping)
-
-
-
Method Detail
-
defragIndexEntry
public void defragIndexEntry(DefragmentContextImpl context)
- Specified by:
defragIndexEntry
in interfaceIndexable4<IdSlotMapping>
-
readIndexEntry
public IdSlotMapping readIndexEntry(Context context, ByteArrayBuffer buffer)
- Specified by:
readIndexEntry
in interfaceIndexable4<IdSlotMapping>
-
writeIndexEntry
public void writeIndexEntry(Context context, ByteArrayBuffer buffer, IdSlotMapping mapping)
- Specified by:
writeIndexEntry
in interfaceIndexable4<IdSlotMapping>
-
prepareComparison
public PreparedComparison prepareComparison(Context context, IdSlotMapping sourceMapping)
Description copied from interface:Comparable4
creates a prepared comparison to compare multiple objects against one single object.- Specified by:
prepareComparison
in interfaceComparable4<IdSlotMapping>
- Parameters:
context
- the context of the comparisonsourceMapping
- the object that is to be compared against multiple other objects- Returns:
- the prepared comparison
-
linkLength
public final int linkLength()
- Specified by:
linkLength
in interfaceLinkLengthAware
-
-