From: Bryan T. <tho...@us...> - 2007-03-27 14:34:56
|
Update of /cvsroot/cweb/bigdata/src/java/com/bigdata/rawstore In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv6186/src/java/com/bigdata/rawstore Modified Files: Addr.java Log Message: Added indexUUID to AbstractBTree so that each scale-out index may have a unique indentifier. Modified the BTreeMetadata class and derived classes to use Externalizable, to support explicit versioning of the metadata record, and to have private fields since they can not be final with Externalizable. Index: Addr.java =================================================================== RCS file: /cvsroot/cweb/bigdata/src/java/com/bigdata/rawstore/Addr.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Addr.java 15 Feb 2007 20:59:21 -0000 1.2 --- Addr.java 27 Mar 2007 14:34:21 -0000 1.3 *************** *** 44,49 **** package com.bigdata.rawstore; ! import java.io.DataInputStream; ! import java.io.DataOutputStream; import java.io.IOException; --- 44,49 ---- package com.bigdata.rawstore; ! import java.io.DataInput; ! import java.io.DataOutput; import java.io.IOException; *************** *** 165,169 **** * @throws IOException */ ! public static void pack(DataOutputStream os,long addr) throws IOException { final int offset = Addr.getOffset(addr); --- 165,169 ---- * @throws IOException */ ! public static void pack(DataOutput os,long addr) throws IOException { final int offset = Addr.getOffset(addr); *************** *** 186,190 **** * @throws IOException */ ! public static long unpack(DataInputStream is) throws IOException { long v = LongPacker.unpackLong(is); --- 186,190 ---- * @throws IOException */ ! public static long unpack(DataInput is) throws IOException { long v = LongPacker.unpackLong(is); |