|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.teiid.connector.jdbc.translator.BasicFunctionModifier org.teiid.connector.jdbc.translator.DropFunctionModifier
public class DropFunctionModifier
This FunctionModifier will cause this function to be dropped by replacing the function with (by default) the first argument of the function. Optionally, the replacement index can be overridden. This modifier should only be used with functions having the minimum or more number of arguments.
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 | |
---|---|
DropFunctionModifier()
|
Method Summary | |
---|---|
IExpression |
modify(IFunction function)
Subclass should override this method as needed. |
void |
setReplaceIndex(int index)
|
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 DropFunctionModifier()
Method Detail |
---|
public void setReplaceIndex(int index)
public IExpression modify(IFunction function)
BasicFunctionModifier
modify
in interface FunctionModifier
modify
in class BasicFunctionModifier
FunctionModifier.modify(org.teiid.connector.language.IFunction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |