| java.lang.Object com.quadcap.sql.Expression com.quadcap.sql.FunctionExpression
FunctionExpression | public class FunctionExpression extends Expression implements Externalizable(Code) | | Implement function expressions. All of them.
author: Stan Bailes |
Method Summary | |
final static int | getMonths(Timestamp t) | final static Number | getNumber(Row values, int i) | final static ValueString | getString(Row values, int i) | public Value | getTimeComponent(Value v, int field, int offset, boolean time) | final static Timestamp | getTimestamp(Value v, String fn) | public Type | getType(Session session, Cursor cursor) | public Value | getValue(Session session, Cursor cursor) | public void | invert() | public int | rank() | public void | readExternal(ObjectInput in) | final static Value | stringLength(Value v, int div, int mul) | final static String | stringValue(Value v) | final static Number | toNumber(Value v) | public String | toString() | public void | visitSubExpressions(ExpressionVisitor ev) | public void | writeExternal(ObjectOutput out) |
TSI_DAY | final static int TSI_DAY(Code) | | |
TSI_FRAC_SECOND | final static int TSI_FRAC_SECOND(Code) | | |
TSI_HOUR | final static int TSI_HOUR(Code) | | |
TSI_MINUTE | final static int TSI_MINUTE(Code) | | |
TSI_MONTH | final static int TSI_MONTH(Code) | | |
TSI_QUARTER | final static int TSI_QUARTER(Code) | | |
TSI_SECOND | final static int TSI_SECOND(Code) | | |
TSI_WEEK | final static int TSI_WEEK(Code) | | |
TSI_YEAR | final static int TSI_YEAR(Code) | | |
fnABS | final static int fnABS(Code) | | |
fnACOS | final static int fnACOS(Code) | | |
fnASCII | final static int fnASCII(Code) | | |
fnASIN | final static int fnASIN(Code) | | |
fnATAN | final static int fnATAN(Code) | | |
fnATAN2 | final static int fnATAN2(Code) | | |
fnBIT_LENGTH | final static int fnBIT_LENGTH(Code) | | |
fnCASE | final static int fnCASE(Code) | | |
fnCAST | final static int fnCAST(Code) | | |
fnCEILING | final static int fnCEILING(Code) | | |
fnCHAR | final static int fnCHAR(Code) | | |
fnCHAR_LENGTH | final static int fnCHAR_LENGTH(Code) | | |
fnCOALESCE | final static int fnCOALESCE(Code) | | |
fnCONCAT | final static int fnCONCAT(Code) | | |
fnCOS | final static int fnCOS(Code) | | |
fnCOT | final static int fnCOT(Code) | | |
fnCURDATE | final static int fnCURDATE(Code) | | |
fnCURTIME | final static int fnCURTIME(Code) | | |
fnDATABASE | final static int fnDATABASE(Code) | | |
fnDAYNAME | final static int fnDAYNAME(Code) | | |
fnDAYOFMONTH | final static int fnDAYOFMONTH(Code) | | |
fnDAYOFWEEK | final static int fnDAYOFWEEK(Code) | | |
fnDAYOFYEAR | final static int fnDAYOFYEAR(Code) | | |
fnDEGREES | final static int fnDEGREES(Code) | | |
fnDIFFERENCE | final static int fnDIFFERENCE(Code) | | |
fnDIGEST | final static int fnDIGEST(Code) | | |
fnEXP | final static int fnEXP(Code) | | |
fnFLOOR | final static int fnFLOOR(Code) | | |
fnHOUR | final static int fnHOUR(Code) | | |
fnIFNULL | final static int fnIFNULL(Code) | | |
fnINSERT | final static int fnINSERT(Code) | | |
fnLAST_INSERT_ID | final static int fnLAST_INSERT_ID(Code) | | |
fnLEFT | final static int fnLEFT(Code) | | |
fnLENGTH | final static int fnLENGTH(Code) | | |
fnLOCATE | final static int fnLOCATE(Code) | | |
fnLOG | final static int fnLOG(Code) | | |
fnLOG10 | final static int fnLOG10(Code) | | |
fnLOWER | final static int fnLOWER(Code) | | |
fnLTRIM | final static int fnLTRIM(Code) | | |
fnMINUTE | final static int fnMINUTE(Code) | | |
fnMOD | final static int fnMOD(Code) | | |
fnMONTH | final static int fnMONTH(Code) | | |
fnMONTHNAME | final static int fnMONTHNAME(Code) | | |
fnNOW | final static int fnNOW(Code) | | |
fnNULLIF | final static int fnNULLIF(Code) | | |
fnOCTET_LENGTH | final static int fnOCTET_LENGTH(Code) | | |
fnPI | final static int fnPI(Code) | | |
fnPOWER | final static int fnPOWER(Code) | | |
fnQUARTER | final static int fnQUARTER(Code) | | |
fnRADIANS | final static int fnRADIANS(Code) | | |
fnRAND | final static int fnRAND(Code) | | |
fnREPEAT | final static int fnREPEAT(Code) | | |
fnREPLACE | final static int fnREPLACE(Code) | | |
fnRIGHT | final static int fnRIGHT(Code) | | |
fnROUND | final static int fnROUND(Code) | | |
fnRTRIM | final static int fnRTRIM(Code) | | |
fnSECOND | final static int fnSECOND(Code) | | |
fnSIGN | final static int fnSIGN(Code) | | |
fnSIN | final static int fnSIN(Code) | | |
fnSOUNDEX | final static int fnSOUNDEX(Code) | | |
fnSPACE | final static int fnSPACE(Code) | | |
fnSQRT | final static int fnSQRT(Code) | | |
fnSUBSTRING | final static int fnSUBSTRING(Code) | | |
fnTAN | final static int fnTAN(Code) | | |
fnTIMESTAMPADD | final static int fnTIMESTAMPADD(Code) | | |
fnTIMESTAMPDIFF | final static int fnTIMESTAMPDIFF(Code) | | |
fnTRUNCATE | final static int fnTRUNCATE(Code) | | |
fnUPPER | final static int fnUPPER(Code) | | |
fnUSER | final static int fnUSER(Code) | | |
fnWEEK | final static int fnWEEK(Code) | | |
fnYEAR | final static int fnYEAR(Code) | | |
FunctionExpression | public FunctionExpression()(Code) | | |
getTimeComponent | public Value getTimeComponent(Value v, int field, int offset, boolean time) throws ValueException, SQLException(Code) | | Generic implementation of time field extraction from DATE, TIME,
TIMESTAMP and INTERVAL components
|
invert | public void invert()(Code) | | |
|
|