KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > execution > _TableInfo


1 package com.daffodilwoods.daffodildb.server.sql99.dql.execution;
2
3 /**
4  * _TableInfo represents a table uniquely across different queries. This is used
5  * to reflect any effect on a result set taken on Select Query, when there is
6  * any modification occured on the tables involved in Select Query.
7  * <p>Title: </p>
8  * <p>Description: </p>
9  * <p>Copyright: Copyright (c) 2003</p>
10  * <p>Company: </p>
11  * @author unascribed
12  * @version 1.0
13  */

14 import com.daffodilwoods.database.resource.DException;
15 import com.daffodilwoods.database.general.QualifiedIdentifier;
16 public interface _TableInfo {
17
18    /**
19     * This is required to distinguish the same table involved in different
20     * Select Queries.
21     * @return unique identity of a table involved in Select Query.
22     * @throws DException
23     */

24
25    public int getUniqueID() throws DException ;
26
27    /**
28     * This is required in maintaining a mapping of Tables and ResultSet of select
29     * query. Whenever any modifications are performed on a table, the
30     * corresponding result set is informed for that change.
31     * @return QualifiedIdentifier(CatalogName.SchemaName.TableName) of a table.
32     * @throws DException
33     */

34
35    public QualifiedIdentifier getIdentifier() throws DException ;
36 }
37
Popular Tags