|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.connector.jdbc.translator.BasicFunctionModifier
org.teiid.connector.jdbc.oracle.LocateFunctionModifier
public class LocateFunctionModifier
Modify the locate function to use the Oracle instr function. locate(sub, str) -> instr(str, sub) locate(sub, str, start) -> instr(str, sub, start+1)
| 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 | |
|---|---|
LocateFunctionModifier(ILanguageFactory langFactory)
|
|
| Method Summary | |
|---|---|
IExpression |
modify(IFunction function)
Subclass should override this method as needed. |
| Methods inherited from class org.teiid.connector.jdbc.translator.BasicFunctionModifier |
|---|
translate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.teiid.connector.jdbc.translator.FunctionModifier |
|---|
translate |
| Constructor Detail |
|---|
public LocateFunctionModifier(ILanguageFactory langFactory)
| Method Detail |
|---|
public IExpression modify(IFunction function)
BasicFunctionModifier
modify in interface FunctionModifiermodify in class BasicFunctionModifierFunctionModifier.modify(org.teiid.connector.language.IFunction)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||