KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.daffodilwoods.daffodildb.server.sql99.dql.execution;
2
3 import com.daffodilwoods.daffodildb.server.sql99.dql.tableexpression.fromclause.*;
4 import com.daffodilwoods.database.resource.DException;
5 import com.daffodilwoods.daffodildb.server.sql99.common.TableDetails;
6 import com.daffodilwoods.daffodildb.server.sql99.utils._VariableValueOperations;
7
8
9 /**
10  * JoinConditionTableGetter is used in insertion, updation, deletion through
11  * result set. It provides the functionality which helps in performing modifications
12  * in qualified joins.
13  * <p>Title: </p>
14  * <p>Description: </p>
15  * <p>Copyright: Copyright (c) 2003</p>
16  * <p>Company: </p>
17  * @author unascribed
18  * @version 1.0
19  */

20
21 public interface JoinConditionTableGetter {
22
23    /**
24     * It helps in finding tables in which modifications have to performed due to
25     * the effect of the join condition.
26     * @param td is array of Table Details on which modification are dictated by
27     * the user
28     * @return the array of tabledetails which are candidates of modification due
29     * to the join condition.
30     * @throws DException
31     */

32
33    TableDetails[] getCorrespondingTablesInvolved( TableDetails[] td ) throws DException ;
34
35    /**
36     * This method is used in checking whether the request of modifications are
37     * compliant with qualified joins or not.
38     * @param vv contains the modified value of the columns invloved in Select
39     * query.
40     * @throws DException when request of modifications are not compliant with
41     * qualified joins.
42     */

43
44    void verifyValues(_VariableValueOperations vv ) throws DException;
45 }
46
Popular Tags