allocator fixes
[csql.git] / include / Function.h
blob51021e5368bd64ccb89c1516113927ffc9a8d877
2 #ifndef FUNCTION_H
3 #define FUNCTION_H
6 //Bijaya : Donot change order of Constant.
7 enum FunctionType
9 UNKNOWN_FUNCTION =-1,
10 DATEDIFF,
11 TIMEDIFF,
12 DATEADDWITHYEAR,
13 DATEADDWITHMON,
14 DATEADDWITHDAY,
15 DATESUBWITHYEAR,
16 DATESUBWITHMON,
17 DATESUBWITHDAY,
18 TIMEADDWITHHOUR,
19 TIMEADDWITHMIN,
20 TIMEADDWITHSEC,
21 TIMESUBWITHHOUR,
22 TIMESUBWITHMIN,
23 TIMESUBWITHSEC,
24 TIMESTAMPADDWITHYEAR,
25 TIMESTAMPADDWITHMON,
26 TIMESTAMPADDWITHDAY,
27 TIMESTAMPSUBWITHYEAR,
28 TIMESTAMPSUBWITHMON,
29 TIMESTAMPSUBWITHDAY,
30 TIMESTAMPADDWITHHOUR,
31 TIMESTAMPADDWITHMIN,
32 TIMESTAMPADDWITHSEC,
33 TIMESTAMPSUBWITHHOUR,
34 TIMESTAMPSUBWITHMIN,
35 TIMESTAMPSUBWITHSEC,
36 TIMESTAMPDIFFYEAR,
37 TIMESTAMPDIFFMON,
38 TIMESTAMPDIFFDAY,
39 TIMESTAMPDIFFHOUR,
40 TIMESTAMPDIFFMIN,
41 TIMESTAMPDIFFSEC,
42 EXTRACTYEARFROMDAY,
43 EXTRACTMONFROMDAY,
44 EXTRACTDAYFROMDAY,
45 EXTRACTYEARFROMTIMESTAMP,
46 EXTRACTMONFROMTIMESTAMP,
47 EXTRACTDAYFROMTIMESTAMP,
48 EXTRACTHOURFROMTIME,
49 EXTRACTMINFROMTIME,
50 EXTRACTSECFROMTIME,
51 EXTRACTHOURFROMTIMESTAMP,
52 EXTRACTMINFROMTIMESTAMP,
53 EXTRACTSECFROMTIMESTAMP,
54 DATEFROMTIMESTAMP,
55 TIMEFROMTIMESTAMP
58 #endif