KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > tableexpression > fromclause > joinspecification


1 package com.daffodilwoods.daffodildb.server.sql99.dql.tableexpression.fromclause;
2
3 import com.daffodilwoods.daffodildb.server.sql99.common.*;
4 import com.daffodilwoods.daffodildb.server.sql99.dql.plan.*;
5 import com.daffodilwoods.daffodildb.server.sql99.dql.plan.condition.*;
6 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.*;
7 import com.daffodilwoods.daffodildb.server.sql99.utils.*;
8 import com.daffodilwoods.database.resource.*;
9 import java.util.*;
10
11 /**
12  * It represents the join condition of qualified join.
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 joinspecification extends com.daffodilwoods.daffodildb.utils.parser.StatementExecuter {
22
23    /**
24     * Returns the columns which do not belong to passed tables. It is needed
25     * to handle those objects whose values are not provided by passed tables.
26     * @param tableDetails
27     * @return
28     * @throws DException
29     */

30
31    public com.daffodilwoods.daffodildb.server.sql99.utils._Reference[] checkSemantic(com.daffodilwoods.daffodildb.server.serversystem._ServerSession parent,boolean checkUserRight) throws DException ;
32
33    /**
34     * It is required to get the plan of 'on condition' present in qualified join.
35     * @param tableDetails
36     * @return
37     * @throws DException
38     */

39
40    public _QualifiedBVE getQualifiedBVE(TableDetails[] tableDetails) throws DException;
41
42    /**
43     * Returns the condition represented by this interface.
44     * @return
45     * @throws DException
46     */

47
48    public booleanvalueexpression getWholeCondition() throws DException ;
49
50    /**
51     * It is required to obtain all the columns present in this query.
52     * @return Array of columns.
53     * @throws DException
54     */

55
56    public ColumnDetails[] getColumnDetails()throws DException;
57
58    /**
59     * It is needed by DDL. It adds the name of columns in passed list.
60     * @param aList
61     * @throws DException
62     */

63
64    public void getColumnsIncluded(ArrayList aList) throws DException ;
65
66    /**
67     * It is needed by DDL. It adds the name of tables in passed list.
68     * @param aList
69     * @throws DException
70     */

71
72    public void getTablesIncluded(ArrayList aList) throws DException ;
73
74    /**
75     * It allows user to get information related to parametrs(questionmarks)
76     * present in this query.
77     * @return Array of ParameterInfo
78     * @throws DException
79     */

80
81    public ParameterInfo[] getParameterInfo() throws DException ;
82
83    /**
84     * It is required to get all the parameters present in this condition.
85     * @param object
86     * @return
87     * @throws DException
88     */

89
90    public Object JavaDoc[] getParameters(Object JavaDoc object) throws DException;
91
92    /**
93     * It is required to obtain the plan of condition when qualified plans acts
94     * as simple join.
95     * @return plan of condition
96     * @throws DException
97     */

98
99    public _BVEPlan getBveExecutionPlan() throws DException ;
100    /**
101     * For documentation of underlying methods refer to documentation of
102     * queryexpressionbody.
103     */

104
105    public void setDefaultValues(_VariableValueOperations variableValueOperations) throws DException ;
106    public void verifyValues(_VariableValueOperations variableValueOperation) throws DException ;
107 }
108
Popular Tags