gr.forth.ics.rssdb.storage
Class SchemaDelta

java.lang.Object
  |
  +--gr.forth.ics.rssdb.storage.SchemaDelta

public class SchemaDelta
extends java.lang.Object

Finds the schmema updates between the stored schema and the schema of the input file. We support schmema updates only for the SPECIFIC_UNIQUETABLE representation. We also assume that the stored schema is a tree and the modified schema of the input file is also a tree.

Version:
2.0 (23 July 2003)
Author:
Sofia Alexaki

Constructor Summary
SchemaDelta(DBStorage storage, int repr)
           
 
Method Summary
 boolean reportDifferences(java.lang.String ns, int i)
          Sets the id of the stored classes/properties.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaDelta

public SchemaDelta(DBStorage storage,
                   int repr)
Method Detail

reportDifferences

public boolean reportDifferences(java.lang.String ns,
                                 int i)
                          throws java.sql.SQLException
Sets the id of the stored classes/properties. Reports which classes/properties of the current namespace has been removed or have change type or if the domain/range of properties have been changed.