KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > datasystem > interfaces > _IndexTable


1 package com.daffodilwoods.daffodildb.server.datasystem.interfaces;
2
3 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator;
4
5
6 import com.daffodilwoods.database.resource.*;
7 import com.daffodilwoods.daffodildb.server.datasystem.indexsystem._IndexInformation;
8 import com.daffodilwoods.daffodildb.server.sql99.fulltext.dml._FullTextIndexInformation;
9
10 /**
11  *
12  * <p>Title: _IndexTable</p>
13 * <p>Description: Is an interface that provides some additional functionality on the table that the interface _Table.
14  */

15 public interface _IndexTable extends _Table{
16
17   /**
18    * Used to retreive the index Information from the table.
19    * @return array of index informations of the different indexes on the table.
20    * @throws DException
21    */

22    _IndexInformation[] getIndexInformations() throws DException;
23
24     _FullTextIndexInformation[] getFullTextIndexInformation( ) throws DException;
25
26    /**
27     * Used to get an iterator on a particular index table.
28     * @param index defines the index of the table.
29     * @return an iterator to navigate on the table.
30     * @throws DException
31     */

32    _Iterator getIterator(int index) throws DException;
33
34    _Iterator getDefaultIterator() throws DException;
35
36    int getEstimatedRowCount() throws DException;
37    _Database getDatabase() throws DException;
38    void setDuplicateKeysAllowedInBtrees() throws DException;
39 }
40
Popular Tags