Author: shawkins
Date: 2011-12-06 15:20:23 -0500 (Tue, 06 Dec 2011)
New Revision: 3720
Modified:
trunk/connectors/sandbox/translator-yahoo/src/main/java/org/teiid/translator/yahoo/YahooExecutionFactory.java
Log:
TEIID-1859 TEIID-3 adding new capabilities to control convert pushdown and restrict
comparisons
Modified:
trunk/connectors/sandbox/translator-yahoo/src/main/java/org/teiid/translator/yahoo/YahooExecutionFactory.java
===================================================================
---
trunk/connectors/sandbox/translator-yahoo/src/main/java/org/teiid/translator/yahoo/YahooExecutionFactory.java 2011-12-06
15:31:53 UTC (rev 3719)
+++
trunk/connectors/sandbox/translator-yahoo/src/main/java/org/teiid/translator/yahoo/YahooExecutionFactory.java 2011-12-06
20:20:23 UTC (rev 3720)
@@ -87,5 +87,10 @@
metadataFactory.addColumn("volume",
DataTypeManager.DefaultDataTypes.BIG_INTEGER, t); //$NON-NLS-1$
metadataFactory.addAccessPattern("needs_symbol",
Arrays.asList("symbol"), t); //$NON-NLS-1$ //$NON-NLS-2$
}
+
+ @Override
+ public boolean supportsOnlyLiteralComparison() {
+ return true;
+ }
}
Show replies by date