org.teiid.connector.jdbc.translator
Class EscapeSyntaxModifier

java.lang.Object
  extended by org.teiid.connector.jdbc.translator.BasicFunctionModifier
      extended by org.teiid.connector.jdbc.translator.EscapeSyntaxModifier
All Implemented Interfaces:
FunctionModifier

public class EscapeSyntaxModifier
extends BasicFunctionModifier

Wrap a function in standard JDBC escape syntax. In some cases, the driver can then convert to the correct database syntax for us.

Since:
5.0

Field Summary
 
Fields inherited from class org.teiid.connector.jdbc.translator.BasicFunctionModifier
BIGDECIMAL, BIGINTEGER, BLOB, BOOLEAN, BYTE, CHAR, CLOB, DATE, DOUBLE, FLOAT, INTEGER, LONG, OBJECT, SHORT, STRING, TIME, TIMESTAMP, typeMap, XML
 
Constructor Summary
EscapeSyntaxModifier()
           
 
Method Summary
 java.util.List translate(IFunction function)
          Subclass should override this method as needed.
 
Methods inherited from class org.teiid.connector.jdbc.translator.BasicFunctionModifier
modify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EscapeSyntaxModifier

public EscapeSyntaxModifier()
Method Detail

translate

public java.util.List translate(IFunction function)
Description copied from class: BasicFunctionModifier
Subclass should override this method as needed.

Specified by:
translate in interface FunctionModifier
Overrides:
translate in class BasicFunctionModifier
Parameters:
function - IFunction to be translated
Returns:
List of translated parts, or null
Since:
5.0
See Also:
BasicFunctionModifier.translate(org.teiid.connector.language.IFunction)


Copyright © 2009. All Rights Reserved.