15 #ifndef IMPALA_EXPRS_OPERATORS_H
16 #define IMPALA_EXPRS_OPERATORS_H
20 using namespace impala_udf;
39 static FloatVal Add_FloatVal_FloatVal(
44 static TinyIntVal Subtract_TinyIntVal_TinyIntVal(
46 static SmallIntVal Subtract_SmallIntVal_SmallIntVal(
49 static BigIntVal Subtract_BigIntVal_BigIntVal(
51 static FloatVal Subtract_FloatVal_FloatVal(
53 static DoubleVal Subtract_DoubleVal_DoubleVal(
56 static TinyIntVal Multiply_TinyIntVal_TinyIntVal(
58 static SmallIntVal Multiply_SmallIntVal_SmallIntVal(
61 static BigIntVal Multiply_BigIntVal_BigIntVal(
63 static FloatVal Multiply_FloatVal_FloatVal(
65 static DoubleVal Multiply_DoubleVal_DoubleVal(
68 static DoubleVal Divide_DoubleVal_DoubleVal(
71 static TinyIntVal Int_divide_TinyIntVal_TinyIntVal(
73 static SmallIntVal Int_divide_SmallIntVal_SmallIntVal(
76 static BigIntVal Int_divide_BigIntVal_BigIntVal(
87 static TinyIntVal Bitand_TinyIntVal_TinyIntVal(
92 static BigIntVal Bitand_BigIntVal_BigIntVal(
95 static TinyIntVal Bitxor_TinyIntVal_TinyIntVal(
100 static BigIntVal Bitxor_BigIntVal_BigIntVal(
103 static TinyIntVal Bitor_TinyIntVal_TinyIntVal(
108 static BigIntVal Bitor_BigIntVal_BigIntVal(
127 static BooleanVal Eq_TimestampVal_TimestampVal(
146 static BooleanVal Ne_TimestampVal_TimestampVal(
165 static BooleanVal Gt_TimestampVal_TimestampVal(
184 static BooleanVal Lt_TimestampVal_TimestampVal(
203 static BooleanVal Ge_TimestampVal_TimestampVal(
222 static BooleanVal Le_TimestampVal_TimestampVal(
This object has a compatible storage format with boost::ptime.
Operators written against the UDF interface.