KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > xquark > extractor > algebra > GenSqlVisitor


1 /*
2  * This file belongs to the XQuark distribution.
3  * Copyright (C) 2003 Universite de Versailles Saint-Quentin.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307.
18  * You can also get it at http://www.gnu.org/licenses/lgpl.html
19  *
20  * For more information on this software, see http://www.xquark.org.
21  */

22
23 package org.xquark.extractor.algebra;
24
25
26 import org.xquark.extractor.common.SqlWrapperException;
27 import org.xquark.extractor.sql.SqlExpression;
28 import org.xquark.extractor.xfunctions.*;
29
30 public interface GenSqlVisitor {
31
32     public SqlExpression visit(Attribute arg) throws SqlWrapperException;
33
34     public SqlExpression visit(AttributeExpression arg) throws SqlWrapperException;
35
36     public SqlExpression visit(BinOpArithmetic arg) throws SqlWrapperException;
37
38     public SqlExpression visit(BinOpBoolean arg) throws SqlWrapperException;
39
40     public SqlExpression visit(BinOpCompare arg) throws SqlWrapperException;
41
42     public SqlExpression visit(BinOpCompareAny arg) throws SqlWrapperException;
43
44     public SqlExpression visit(BinOpDifference arg) throws SqlWrapperException;
45
46     public SqlExpression visit(BinOpIntersect arg) throws SqlWrapperException;
47
48     public SqlExpression visit(BinOpMerge arg) throws SqlWrapperException;
49
50     public SqlExpression visit(BinOpOuterJoin arg) throws SqlWrapperException;
51
52     public SqlExpression visit(BinOpUnion arg) throws SqlWrapperException;
53
54     public SqlExpression visit(ConstantTempTable arg) throws SqlWrapperException;
55
56     public SqlExpression visit(DummyTable arg) throws SqlWrapperException;
57
58     public SqlExpression visit(ExternalVariable arg) throws SqlWrapperException;
59
60     public SqlExpression visit(UnOpExists arg) throws SqlWrapperException;
61
62     public SqlExpression visit(FunAggregate arg) throws SqlWrapperException;
63
64     public SqlExpression visit(IfThenElse arg) throws SqlWrapperException;
65
66     public SqlExpression visit(Join arg) throws SqlWrapperException;
67
68     public SqlExpression visit(LitBoolean arg) throws SqlWrapperException;
69
70     public SqlExpression visit(LitDate arg) throws SqlWrapperException;
71
72     public SqlExpression visit(LitDouble arg) throws SqlWrapperException;
73
74     public SqlExpression visit(LitFloat arg) throws SqlWrapperException;
75
76     public SqlExpression visit(LitDecimal arg) throws SqlWrapperException;
77
78     public SqlExpression visit(LitInteger arg) throws SqlWrapperException;
79     
80     public SqlExpression visit(LitList arg) throws SqlWrapperException;
81
82     public SqlExpression visit(LitNull arg) throws SqlWrapperException;
83
84     public SqlExpression visit(LitString arg) throws SqlWrapperException;
85
86     public SqlExpression visit(OuterJoinPredicate arg) throws SqlWrapperException;
87
88     public SqlExpression visit(RenameItem arg) throws SqlWrapperException;
89
90     public SqlExpression visit(RenameRelation arg) throws SqlWrapperException;
91
92     public SqlExpression visit(SortSpecification arg) throws SqlWrapperException;
93
94     public SqlExpression visit(TupleExpression arg) throws SqlWrapperException;
95
96     public SqlExpression visit(Table arg) throws SqlWrapperException;
97
98     public SqlExpression visit(TempValue arg) throws SqlWrapperException;
99
100     public SqlExpression visit(TempTable arg) throws SqlWrapperException;
101
102     public SqlExpression visit(UnOpAggregate arg) throws SqlWrapperException;
103
104     public SqlExpression visit(UnOpGroup arg) throws SqlWrapperException;
105
106     public SqlExpression visit(UnOpIsNull arg) throws SqlWrapperException;
107
108     public SqlExpression visit(UnOpMinus arg) throws SqlWrapperException;
109
110     public SqlExpression visit(UnOpNot arg) throws SqlWrapperException;
111
112     public SqlExpression visit(UnOpProject arg) throws SqlWrapperException;
113
114     public SqlExpression visit(UnOpRestrict arg) throws SqlWrapperException;
115
116     public SqlExpression visit(UnOpSort arg) throws SqlWrapperException;
117
118     public SqlExpression visit(AfCast arg) throws SqlWrapperException;
119
120     public SqlExpression visit(AfTrim arg) throws SqlWrapperException;
121
122     public SqlExpression visit(XfCast arg) throws SqlWrapperException;
123
124     public SqlExpression visit(XfAbs arg) throws SqlWrapperException;
125
126     public SqlExpression visit(XfCeiling arg) throws SqlWrapperException;
127
128     public SqlExpression visit(XfConcat arg) throws SqlWrapperException;
129
130     public SqlExpression visit(XfContains arg) throws SqlWrapperException;
131
132     public SqlExpression visit(XfCurrentDateTime arg) throws SqlWrapperException;
133
134     public SqlExpression visit(XfGetCenturyFromDate arg) throws SqlWrapperException;
135
136     public SqlExpression visit(XfGetHourFromTime arg) throws SqlWrapperException;
137
138     public SqlExpression visit(XfGetMinutesFromtime arg) throws SqlWrapperException;
139
140     public SqlExpression visit(XfGetSecondsFromtime arg) throws SqlWrapperException;
141
142     public SqlExpression visit(XfDate arg) throws SqlWrapperException;
143
144     public SqlExpression visit(XfDateTime arg) throws SqlWrapperException;
145
146     public SqlExpression visit(XfEndsWith arg) throws SqlWrapperException;
147
148     public SqlExpression visit(XfFloor arg) throws SqlWrapperException;
149
150     public SqlExpression visit(XfLowerCase arg) throws SqlWrapperException;
151
152     public SqlExpression visit(XfRound arg) throws SqlWrapperException;
153
154     public SqlExpression visit(XfStartsWith arg) throws SqlWrapperException;
155
156     public SqlExpression visit(XfStringLength arg) throws SqlWrapperException;
157
158     public SqlExpression visit(XfSubString arg) throws SqlWrapperException;
159
160     public SqlExpression visit(XfTime arg) throws SqlWrapperException;
161
162     public SqlExpression visit(XfUpperCase arg) throws SqlWrapperException;
163
164 }
165
Popular Tags