Update of /cvsroot/cweb/bigdata/src/java/com/bigdata/isolation
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv16125/src/java/com/bigdata/isolation
Modified Files:
IsolatableFusedView.java
Log Message:
Fixed bug in overflow handling for triple store.
Added DataService UUID[] to partition metadata.
Index: IsolatableFusedView.java
===================================================================
RCS file: /cvsroot/cweb/bigdata/src/java/com/bigdata/isolation/IsolatableFusedView.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** IsolatableFusedView.java 11 Mar 2007 11:42:44 -0000 1.4
--- IsolatableFusedView.java 29 Mar 2007 17:01:34 -0000 1.5
***************
*** 49,61 ****
import com.bigdata.objndx.AbstractBTree;
import com.bigdata.objndx.ReadOnlyFusedView;
/**
! * An {@link IFusedView} that understands how to process delete markers.
*
* @author <a href="mailto:tho...@us...">Bryan Thompson</a>
* @version $Id$
- *
- * @todo refactor to isolate and override the merge rule.
*/
public class IsolatableFusedView extends ReadOnlyFusedView implements IIsolatableIndex {
--- 49,87 ----
import com.bigdata.objndx.AbstractBTree;
+ import com.bigdata.objndx.IBatchBTree;
+ import com.bigdata.objndx.IEntryIterator;
import com.bigdata.objndx.ReadOnlyFusedView;
+ import com.bigdata.scaleup.PartitionedIndexView;
/**
! * An read-only {@link IFusedView} that supports transactions and deletion
! * markers.
! * <p>
! * Processing deletion markers requires that the source(s) for an index
! * partition view are read in order from the most recent to the earliest
! * historical resource. The first entry for the key in any source is the value
! * that will be reported on a read. If the entry is deleted, then the read will
! * report that no entry exists for that key.
! * <p>
! * Note that deletion markers can exist in both historical journals and index
! * segments having data for the view. Deletion markers are expunged from index
! * segments only by a full compacting merge of all index segments having life
! * data for the partition.
! * <p>
! * Implementation note: the {@link IBatchBTree} operations are inherited from
! * the base class. Only non-batch read operations are overriden by this class.
! *
! * FIXME implement; support processing of delete markers (including handling of
! * the merge rule) - basically they have to be processed on read so that a
! * delete on the mutable btree overrides an historical value, and a deletion
! * marker in a more recent index segment overrides a deletion marker in an
! * earlier index segment. Deletion markers can exist in the both mutable btree
! * and in index segments that are not either a clean first eviction or a full
! * compacting merge (e.g., they can still exist in a compacting merge if there
! * are other index segments or btrees that are part of a partition but are not
! * partitipating in the compacting merge).
*
* @author <a href="mailto:tho...@us...">Bryan Thompson</a>
* @version $Id$
*/
public class IsolatableFusedView extends ReadOnlyFusedView implements IIsolatableIndex {
***************
*** 76,78 ****
--- 102,128 ----
}
+ public boolean contains(byte[] key) {
+
+ throw new UnsupportedOperationException();
+
+ }
+
+ public Object lookup(Object key) {
+
+ throw new UnsupportedOperationException();
+
+ }
+
+ public int rangeCount(byte[] fromKey, byte[] toKey) {
+
+ throw new UnsupportedOperationException();
+
+ }
+
+ public IEntryIterator rangeIterator(byte[] fromKey, byte[] toKey) {
+
+ throw new UnsupportedOperationException();
+
+ }
+
}
|