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