db
Class MergeCatalogs

java.lang.Object
  |
  +--db.MergeCatalogs

public class MergeCatalogs
extends java.lang.Object

Merges references and weights of two catalogs into the first one


Constructor Summary
MergeCatalogs(java.lang.String db1, java.lang.String db2)
           
 
Method Summary
static void main(java.lang.String[] args)
          Merges tables _ref and _wei from directory dir2 into those in directory dir1.
static void mergeReferences(MPHashtable t1, MPHashtable t2)
          Merges references of second table into those of first table
static void mergeWeights(PersistentHashtable t1, PersistentHashtable t2)
          Merges weights of second table into first one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeCatalogs

public MergeCatalogs(java.lang.String db1,
                     java.lang.String db2)
Method Detail

mergeReferences

public static void mergeReferences(MPHashtable t1,
                                   MPHashtable t2)
Merges references of second table into those of first table

mergeWeights

public static void mergeWeights(PersistentHashtable t1,
                                PersistentHashtable t2)
Merges weights of second table into first one

main

public static void main(java.lang.String[] args)
Merges tables _ref and _wei from directory dir2 into those in directory dir1.