KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > queryexpression > queryspecification > selectsublist


1 package com.daffodilwoods.daffodildb.server.sql99.dql.queryexpression.queryspecification;
2
3 import com.daffodilwoods.daffodildb.server.sql99.common.*;
4 import com.daffodilwoods.daffodildb.server.sql99.utils.*;
5 import com.daffodilwoods.database.resource.*;
6 import java.util.*;
7 import com.daffodilwoods.daffodildb.server.serversystem._ServerSession;
8
9 /**
10  * selectsublist may be simply a columnname, qualified name of column, any
11  * expression, asterisk, qualified asterisk.
12  * select list is formed of different selectsublist separated by commas.
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 selectsublist extends com.daffodilwoods.daffodildb.utils.parser.StatementExecuter,TypeConstants , _sortspecificationAndselectSubList{
22
23    /**
24     * Returns the columns which do not belong to passed tables. It is required
25     * to check whether the values of columns present in select list, are provided
26     * by the tables of from clause.
27     * @param tableDetails
28     * @return
29     * @throws DException
30     */

31
32     public _Reference[] getReferences(TableDetails[] tableDetails) throws DException;
33
34     /**
35      * This method adds all the columns, present in selectsublist, in passed
36      * ArrayList. It is needed by DDL.
37      * @param aList
38      * @throws DException
39      */

40
41     public void getColumnsIncluded(ArrayList aList)throws DException;
42
43     /**
44      * It is required to get the information about questionmarks present in
45      * selectsublist.
46      * @return Array of ParameterInfo
47      * @throws DException
48      */

49
50     public ParameterInfo[] getParameterInfo()throws DException;
51
52     /**
53      * It returns the one column per selectsublist. if selectsublist is an
54      * expression involving more than one columns, even then one Column is return
55      * with type as functional.
56      * @return ColumnDetails
57      * @throws DException
58      */

59
60     public ColumnDetails[] getDerivedColumnDetails() throws DException ;
61
62     /**
63      * This method is required to ensure that this selectsublist is semantically
64      * correct. It returns the object whose value is to be provided by user like
65      * question mark.
66      * @param parent
67      * @return
68      * @throws DException
69      */

70
71     public _Reference[] checkSemantic(_ServerSession parent) throws DException ;
72
73     /* Done by vibha */
74     public Object JavaDoc[] getParameters(Object JavaDoc object) throws DException ;
75
76 }
77
Popular Tags