Loading...
Searching...
No Matches
query_fw.h
Go to the documentation of this file.
1/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3 This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5 TerraLib is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 TerraLib 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
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with TerraLib. See COPYING. If not, write to
17 TerraLib Team at <terralib-team@terralib.org>.
18 */
19
20/*!
21 \file terralib/dataaccess/query_fw.h
22
23 \brief Forward declarations for the Query module.
24*/
25
26#ifndef __TERRALIB_DATAACCESS_INTERNAL_QUERY_FW_H
27#define __TERRALIB_DATAACCESS_INTERNAL_QUERY_FW_H
28
29// Forward declarations
30namespace te
31{
32 namespace da
33 {
34 //class AbstractFunction;
35 class Add;
36 class And;
37 class Avg;
38 class BinaryFunction;
39 class BinaryOp;
40 class BinaryOpEncoder;
41 class Cast;
42 class Coalesce;
43 class Count;
44 class DataSetName;
45 class Div;
46 class EqualTo;
47 class Expression;
48 class Field;
49 class FromFunctionCall;
50 class FromItem;
51 class Function;
52 class FunctionCatalog;
54 class FunctionDefn;
55 class FunctionEncoder;
56 class FunctionNames;
59 class GreaterThan;
61 class GroupByItem;
62 class Having;
63 class In;
64 class Insert;
65 class IsNull;
66 class Join;
67 class JoinCondition;
68 class JoinConditionOn;
70 class LessThan;
72 class Like;
73 class Literal;
74 class LiteralBool;
75 class LiteralByteArray;
76 class LiteralDateTime;
77 class LiteralDouble;
78 class LiteralEnvelope;
79 class LiteralGeom;
80 class LiteralInt16;
81 class LiteralInt32;
82 class LiteralInt64;
83 class LiteralString;
84 class Max;
85 class Min;
86 class Mul;
87 class Not;
88 class NotEqualTo;
89 class Or;
90 class OrderByItem;
91 class PropertyName;
92 class Query;
93 class QueryVisitor;
94 class Select;
95 class SelectExpression;
96 class SQLDialect;
98 class SQLVisitor;
99 class ST_AddPoint;
100 class ST_Area;
101 class ST_Beyond;
102 class ST_Boundary;
103 class ST_Buffer;
104 class ST_Centroid;
105 class ST_Contains;
106 class ST_ConvexHull;
107 class ST_Crosses;
108 class ST_Difference;
109 class ST_Disjoint;
110 class ST_DistanceBuffer;
111 class ST_Dump;
112 class ST_DumpRings;
113 class ST_DWithin;
114 class ST_Equals;
115 class ST_Extent;
116 class ST_Intersection;
117 class ST_Intersects;
118 class ST_IsClosed;
119 class ST_IsEmpty;
120 class ST_IsValid;
121 class ST_Length;
122 class ST_MakeValid;
123 class ST_Multi;
124 class ST_NPoints;
125 class ST_NumGeometries;
126 class ST_Overlaps;
127 class ST_Perimeter;
128 class ST_Relate;
129 class ST_SetSRID;
130 class ST_StartPoint;
131 class ST_Touches;
132 class ST_Transform;
133 class ST_Union;
134 class ST_Within;
135 class StdDev;
136 class Sub;
137 class SubSelect;
138 class Substring;
139 class Sum;
140 class TemplateEncoder;
141 class UnaryFunction;
142 class UnaryOp;
143 class UnaryOpEncoder;
144 class Variance;
145 class Where;
146 } // end namespace da
147} // end namespace te
148
149#endif // __TERRALIB_DATAACCESS_INTERNAL_QUERY_FW_H
The addition operator.
Definition Add.h:47
Boolean logic operator: AND.
Definition And.h:47
Avg statistical function.
Definition Avg.h:47
A base class for binary functions.
A query encoder for binary operations.
A base class for binary operations.
Definition BinaryOp.h:44
Cast a expression function.
Definition Cast.h:47
Coalesce operator.
Definition Coalesce.h:47
Count statistical function.
Definition Count.h:47
A class that models the name of a dataset used in a From clause.
Definition DataSetName.h:44
The division operator.
Definition Div.h:47
It models the comparison operator.
Definition EqualTo.h:47
This is an abstract class that models a query expression.
Definition Expression.h:48
The Field class can be used to model an expression that takes part of the output items of a SELECT.
Definition Field.h:51
A Select can be used as a source of information in another query.
An abstract class that models a source of data in a query.
Definition FromItem.h:51
A FunctionCatalogManager is a singleton that can be used to manage function catalogs of data source i...
A FunctionCatalog can be used to keep track of registered functions.
The definition of a function that can be used in a query object.
An SQL encoder for general function expressions.
A static class with global function name definitions.
An SQL encoder for functions with no arguments that is invoked just by its name.
A FunctionParameter models the parameter of a function definition.
A class that models a Function expression.
Definition Function.h:48
It models the inequality operator greater than or equal to (>=).
It models the inequality operator greater than (>).
Definition GreaterThan.h:47
A class that can be used in a GROUP BY clause.
Definition GroupByItem.h:51
A class that can be used to model a filter expression that can be applied to a query.
Definition Having.h:48
A class that represents the IN operator.
Definition In.h:53
The Insert object can add the return of a select object.
Definition Insert.h:51
Tells if a value is NULL.
Definition IsNull.h:47
JoinConditionOn is a boolean expression and it specifies which items in a join are considered to matc...
JoinConditionUsing class can be used to model a USING clause in a Join.
A condition to be used in a Join clause.
A Join clause combines two FromItems.
Definition Join.h:51
It models the inequality operator less than or equal to (<=).
It models the inequality operator less than (<).
Definition LessThan.h:47
It is intended to encode a character string comparison operator with pattern matching.
Definition Like.h:44
This class models a bool Literal value.
Definition LiteralBool.h:44
A class that models a literal for ByteArray values.
A class that models a literal for Date and Time values.
A class that models a literal for double values.
A class that models a literal for Envelope values.
A class that models a literal for Geometry values.
Definition LiteralGeom.h:47
This class models a string Literal value.
This class models a literal value.
Definition Literal.h:54
Max statistical function.
Definition Max.h:47
Min statistical function.
Definition Min.h:47
The multiply operator.
Definition Mul.h:47
Tells if two values are not equal.
Definition NotEqualTo.h:47
Boolean NOT operator.
Definition Not.h:47
A class that can be used in an ORDER BY clause to sort the items of a resulting query.
Definition OrderByItem.h:54
A class that models the name of any property of an object.
A visitor interface for the Query hierarchy.
A Query is independent from the data source language/dialect.
Definition Query.h:47
It represents the SQL query dialect accepted by a given data source.
Definition SQLDialect.h:56
A base class for encoders of SQL function expressions.
A visitor for building an SQL statement from a given Query hierarchy.
Definition SQLVisitor.h:59
Spatial add point operator.
Definition ST_AddPoint.h:47
Spatial area operator.
Definition ST_Area.h:51
Spatial Distance Buffer Beyond operator.
Definition ST_Beyond.h:46
ST_Boundary statistical function.
Definition ST_Boundary.h:47
Spatial Buffer operator.
Definition ST_Buffer.h:52
Spatial centroid operator.
Definition ST_Centroid.h:51
Spatial contains operator.
Definition ST_Contains.h:47
Spatial crosses operator.
Definition ST_Crosses.h:47
Spatial Distance Buffer Within operator.
Definition ST_DWithin.h:46
Spatial difference operator.
Spatial Disjoint operator.
Definition ST_Disjoint.h:47
Spatial Distance Buffer operator.
ST_DumpRings statistical function.
ST_Dump statistical function.
Definition ST_Dump.h:47
Spatial equals operator.
Definition ST_Equals.h:47
Spatial extent operator.
Definition ST_Extent.h:51
Spatial intersection operator.
Spatial intersects operator.
Spatial is cloded operator.
Definition ST_IsClosed.h:51
Spatial is empty operator.
Definition ST_IsEmpty.h:51
Spatial is valid operator.
Definition ST_IsValid.h:51
Spatial length operator.
Definition ST_Length.h:51
Spatial operator that tries to make geometry valid.
Spatial multi operator.
Definition ST_Multi.h:51
Spatial number of points operator.
Definition ST_NPoints.h:51
ST_NumGeometries statistical function.
Spatial overlaps operator.
Definition ST_Overlaps.h:47
Spatial perimeter operator.
Spatial relation function.
Definition ST_Relate.h:49
Spatial Set SRID operator.
Definition ST_SetSRID.h:47
Spatial start point operator.
Spatial touches operator.
Definition ST_Touches.h:47
ST_Union statistical function.
Definition ST_Union.h:47
Spatial within operator.
Definition ST_Within.h:47
A Select can be used as a source of information in another query.
A Select models a query to be used when retrieving data from a DataSource.
Definition Select.h:67
StdDev statistical function.
Definition StdDev.h:47
A Select can be used as a source of information in another query.
Definition SubSelect.h:50
The subtraction operator.
Definition Sub.h:47
Allows the extraction of substrings.
Definition Substring.h:44
Sum aggregate operator.
Definition Sum.h:47
A query encoder for binary operator expressions.
A base class for unary functions.
A query encoder for unary operator expressions.
A base class for unary operators.
Definition UnaryOp.h:44
Variance statistical function.
Definition Variance.h:47
A class that can be used to model a filter expression that can be applied to a query.
Definition Where.h:48
Namespace for the DataAccess API of TerraLib.
Definition DataSet.h:43
TerraLib.