1 21 package com.db4o.inside.mapping; 22 23 import com.db4o.*; 24 import com.db4o.foundation.*; 25 import com.db4o.inside.btree.*; 26 27 32 public interface DefragContext extends IDMapping { 33 34 YapReader sourceReaderByAddress(int address,int length); 35 YapReader targetReaderByAddress(int address,int length); 36 37 YapReader sourceReaderByID(int sourceID); 38 39 int allocateTargetSlot(int targetLength); 40 41 void targetWriteBytes(YapReader targetPointerReader, int targetID); 42 43 Transaction systemTrans(); 44 45 void targetWriteBytes(ReaderPair readers, int targetAddress); 46 47 void traverseAllIndexSlots(BTree tree, Visitor4 visitor4); 48 49 YapClass yapClass(int id); 50 51 YapWriter sourceWriterByID(int sourceID); 52 53 int mappedID(int id,boolean lenient); 54 55 void registerUnindexed(int id); 56 57 Iterator4 unindexedIDs(); 58 } | Popular Tags |