org.teiid.connector.jdbc.sybase
Class SubstringFunctionModifier

java.lang.Object
  extended by org.teiid.connector.jdbc.translator.FunctionModifier
      extended by org.teiid.connector.jdbc.sybase.SubstringFunctionModifier

public class SubstringFunctionModifier
extends FunctionModifier

Common logic for Substring modifiers requiring 3 parameters


Field Summary
 
Fields inherited from class org.teiid.connector.jdbc.translator.FunctionModifier
BIGDECIMAL, BIGINTEGER, BLOB, BOOLEAN, BYTE, CHAR, CLOB, DATE, DOUBLE, FLOAT, INTEGER, LONG, OBJECT, SHORT, STRING, TIME, TIMESTAMP, XML
 
Constructor Summary
SubstringFunctionModifier(ILanguageFactory languageFactory)
           
 
Method Summary
 java.util.List<?> translate(IFunction function)
          Return a List of translated parts (ILanguageObjects and Objects), or null if this FunctionModifier wishes to rely on the default translation of the conversion visitor.
 
Methods inherited from class org.teiid.connector.jdbc.translator.FunctionModifier
getCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstringFunctionModifier

public SubstringFunctionModifier(ILanguageFactory languageFactory)
Method Detail

translate

public java.util.List<?> translate(IFunction function)
Description copied from class: FunctionModifier
Return a List of translated parts (ILanguageObjects and Objects), or null if this FunctionModifier wishes to rely on the default translation of the conversion visitor.

Specified by:
translate in class FunctionModifier
Parameters:
function - IFunction to be translated
Returns:
List of translated parts, or null


Copyright © 2009. All Rights Reserved.