Author: shawkins
Date: 2010-06-19 07:33:35 -0400 (Sat, 19 Jun 2010)
New Revision: 2266
Modified:
branches/7.0.x/documentation/caching-guide/pom.xml
branches/7.0.x/documentation/quick-start-example/pom.xml
branches/7.0.x/engine/src/main/java/org/teiid/query/optimizer/relational/rules/CriteriaCapabilityValidatorVisitor.java
Log:
TEIID-171 ensuring that objects without connector representations cannot be pushed
Modified: branches/7.0.x/documentation/caching-guide/pom.xml
===================================================================
--- branches/7.0.x/documentation/caching-guide/pom.xml 2010-06-19 11:06:05 UTC (rev 2265)
+++ branches/7.0.x/documentation/caching-guide/pom.xml 2010-06-19 11:33:35 UTC (rev 2266)
@@ -1,12 +1,13 @@
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
- <groupId>org.jboss.teiid.documentation</groupId>
+ <groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
<version>7.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>caching-guide</artifactId>
+ <groupId>org.jboss.teiid.documentation</groupId>
<packaging>jdocbook</packaging>
<name>Teiid Caching Guide</name>
<description>The Teiid Caching Guide</description>
Modified: branches/7.0.x/documentation/quick-start-example/pom.xml
===================================================================
--- branches/7.0.x/documentation/quick-start-example/pom.xml 2010-06-19 11:06:05 UTC (rev
2265)
+++ branches/7.0.x/documentation/quick-start-example/pom.xml 2010-06-19 11:33:35 UTC (rev
2266)
@@ -1,12 +1,13 @@
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
- <groupId>org.jboss.teiid.documentation</groupId>
+ <groupId>org.jboss.teiid</groupId>
<artifactId>documentation</artifactId>
<version>7.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>quick-start-example</artifactId>
+ <groupId>org.jboss.teiid.documentation</groupId>
<packaging>jdocbook</packaging>
<name>Quick Start Guide</name>
<description>The Teiid Quick Start guide</description>
Modified:
branches/7.0.x/engine/src/main/java/org/teiid/query/optimizer/relational/rules/CriteriaCapabilityValidatorVisitor.java
===================================================================
---
branches/7.0.x/engine/src/main/java/org/teiid/query/optimizer/relational/rules/CriteriaCapabilityValidatorVisitor.java 2010-06-19
11:06:05 UTC (rev 2265)
+++
branches/7.0.x/engine/src/main/java/org/teiid/query/optimizer/relational/rules/CriteriaCapabilityValidatorVisitor.java 2010-06-19
11:33:35 UTC (rev 2266)
@@ -60,12 +60,16 @@
import org.teiid.query.sql.symbol.CaseExpression;
import org.teiid.query.sql.symbol.Function;
import org.teiid.query.sql.symbol.GroupSymbol;
+import org.teiid.query.sql.symbol.QueryString;
import org.teiid.query.sql.symbol.ScalarSubquery;
import org.teiid.query.sql.symbol.SearchedCaseExpression;
import org.teiid.query.sql.symbol.XMLAttributes;
import org.teiid.query.sql.symbol.XMLElement;
import org.teiid.query.sql.symbol.XMLForest;
import org.teiid.query.sql.symbol.XMLNamespaces;
+import org.teiid.query.sql.symbol.XMLParse;
+import org.teiid.query.sql.symbol.XMLQuery;
+import org.teiid.query.sql.symbol.XMLSerialize;
import org.teiid.query.sql.util.SymbolMap;
import org.teiid.query.sql.visitor.EvaluatableVisitor;
import org.teiid.query.sql.visitor.GroupCollectorVisitor;
@@ -119,6 +123,26 @@
markInvalid();
}
+ @Override
+ public void visit(XMLSerialize obj) {
+ markInvalid();
+ }
+
+ @Override
+ public void visit(XMLParse obj) {
+ markInvalid();
+ }
+
+ @Override
+ public void visit(XMLQuery obj) {
+ markInvalid();
+ }
+
+ @Override
+ public void visit(QueryString obj) {
+ markInvalid();
+ }
+
public void visit(AggregateSymbol obj) {
try {
if(! CapabilitiesUtil.supportsAggregateFunction(modelID, obj, metadata,
capFinder)) {