From: Jean-Marc V. <jm...@us...> - 2004-09-03 09:18:13
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/storage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14444/src/org/exist/storage Modified Files: NativeElementIndex.java ElementIndex.java Log Message: just javadoc Index: NativeElementIndex.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/storage/NativeElementIndex.java,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** NativeElementIndex.java 21 Jul 2004 08:53:56 -0000 1.35 --- NativeElementIndex.java 3 Sep 2004 09:18:04 -0000 1.36 *************** *** 17,21 **** * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ! * $Id: */ package org.exist.storage; --- 17,21 ---- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ! * $Id$ */ package org.exist.storage; *************** *** 65,68 **** --- 65,73 ---- import org.w3c.dom.Node; + /** The indexing occurs in this class. That is, during the loading of a document + * into the database, the process of associating a long gid with each element, + * and the subsequent storing of the {@link NodeProxy} on disk. + * {@link reIndex} is the main method. + */ public class NativeElementIndex extends ElementIndex { *************** *** 464,467 **** --- 469,473 ---- } + /** Called by {@link NativeBroker.reIndex} */ public void reindex(DocumentImpl oldDoc, NodeImpl node) { if (elementIds.size() == 0) return; Index: ElementIndex.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/storage/ElementIndex.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ElementIndex.java 19 Jul 2004 13:06:24 -0000 1.8 --- ElementIndex.java 3 Sep 2004 09:18:04 -0000 1.9 *************** *** 34,40 **** --- 34,42 ---- import org.exist.xquery.NodeSelector; + /** base class for {@link org.exist.storage.NativeElementIndex} */ public abstract class ElementIndex extends Observable { protected DBBroker broker; + /** maps a qname to a List of NodeProxy - should be renamed ? */ protected TreeMap elementIds = new TreeMap(); protected DocumentImpl doc; |