WFSDialect.h
Go to the documentation of this file.
2 
3 dialect->insert("+", new te::da::BinaryOpEncoder("+"));
4 dialect->insert("-", new te::da::BinaryOpEncoder("-"));
5 dialect->insert("*", new te::da::BinaryOpEncoder("*"));
6 dialect->insert("/", new te::da::BinaryOpEncoder("/"));
7 dialect->insert("=", new te::da::BinaryOpEncoder("="));
8 dialect->insert("<>", new te::da::BinaryOpEncoder("<>"));
9 dialect->insert(">", new te::da::BinaryOpEncoder(">"));
10 dialect->insert("<", new te::da::BinaryOpEncoder("<"));
11 dialect->insert(">=", new te::da::BinaryOpEncoder(">="));
12 dialect->insert("<=", new te::da::BinaryOpEncoder("<="));
13 dialect->insert("and", new te::da::BinaryOpEncoder("AND"));
14 dialect->insert("or", new te::da::BinaryOpEncoder("OR"));
15 dialect->insert("not", new te::da::UnaryOpEncoder("NOT"));
16 dialect->insert("st_envelopeintersects", new te::da::FunctionEncoder("Intersection"));
17 
18 DataSource::setDialect(dialect);
te::da::SQLDialect * dialect
Definition: WFSDialect.h:1
An SQL encoder for general function expressions.
It represents the SQL query dialect accepted by a given data source.
Definition: SQLDialect.h:55
void insert(const std::string &funcName, SQLFunctionEncoder *encoder)
It adds a new encoder for a given function.
A query encoder for binary operations.
A query encoder for unary operator expressions.