# # Autogenerated by Thrift Compiler (0.8.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # module Impala module Protocol module TExprOpcode INVALID_OPCODE = 0 ADD_DOUBLE_DOUBLE = 1 ADD_LONG_LONG = 2 BITAND_CHAR_CHAR = 3 BITAND_INT_INT = 4 BITAND_LONG_LONG = 5 BITAND_SHORT_SHORT = 6 BITNOT_CHAR = 7 BITNOT_INT = 8 BITNOT_LONG = 9 BITNOT_SHORT = 10 BITOR_CHAR_CHAR = 11 BITOR_INT_INT = 12 BITOR_LONG_LONG = 13 BITOR_SHORT_SHORT = 14 BITXOR_CHAR_CHAR = 15 BITXOR_INT_INT = 16 BITXOR_LONG_LONG = 17 BITXOR_SHORT_SHORT = 18 CASE_BOOL = 19 CASE_CHAR = 20 CASE_DOUBLE = 21 CASE_FLOAT = 22 CASE_INT = 23 CASE_LONG = 24 CASE_SHORT = 25 CASE_STRINGVALUE = 26 CASE_TIMESTAMPVALUE = 27 CAST_BOOL_BOOL = 28 CAST_BOOL_CHAR = 29 CAST_BOOL_DOUBLE = 30 CAST_BOOL_FLOAT = 31 CAST_BOOL_INT = 32 CAST_BOOL_LONG = 33 CAST_BOOL_SHORT = 34 CAST_BOOL_STRINGVALUE = 35 CAST_BOOL_TIMESTAMPVALUE = 36 CAST_CHAR_BOOL = 37 CAST_CHAR_CHAR = 38 CAST_CHAR_DOUBLE = 39 CAST_CHAR_FLOAT = 40 CAST_CHAR_INT = 41 CAST_CHAR_LONG = 42 CAST_CHAR_SHORT = 43 CAST_CHAR_STRINGVALUE = 44 CAST_CHAR_TIMESTAMPVALUE = 45 CAST_DOUBLE_BOOL = 46 CAST_DOUBLE_CHAR = 47 CAST_DOUBLE_DOUBLE = 48 CAST_DOUBLE_FLOAT = 49 CAST_DOUBLE_INT = 50 CAST_DOUBLE_LONG = 51 CAST_DOUBLE_SHORT = 52 CAST_DOUBLE_STRINGVALUE = 53 CAST_DOUBLE_TIMESTAMPVALUE = 54 CAST_FLOAT_BOOL = 55 CAST_FLOAT_CHAR = 56 CAST_FLOAT_DOUBLE = 57 CAST_FLOAT_FLOAT = 58 CAST_FLOAT_INT = 59 CAST_FLOAT_LONG = 60 CAST_FLOAT_SHORT = 61 CAST_FLOAT_STRINGVALUE = 62 CAST_FLOAT_TIMESTAMPVALUE = 63 CAST_INT_BOOL = 64 CAST_INT_CHAR = 65 CAST_INT_DOUBLE = 66 CAST_INT_FLOAT = 67 CAST_INT_INT = 68 CAST_INT_LONG = 69 CAST_INT_SHORT = 70 CAST_INT_STRINGVALUE = 71 CAST_INT_TIMESTAMPVALUE = 72 CAST_LONG_BOOL = 73 CAST_LONG_CHAR = 74 CAST_LONG_DOUBLE = 75 CAST_LONG_FLOAT = 76 CAST_LONG_INT = 77 CAST_LONG_LONG = 78 CAST_LONG_SHORT = 79 CAST_LONG_STRINGVALUE = 80 CAST_LONG_TIMESTAMPVALUE = 81 CAST_SHORT_BOOL = 82 CAST_SHORT_CHAR = 83 CAST_SHORT_DOUBLE = 84 CAST_SHORT_FLOAT = 85 CAST_SHORT_INT = 86 CAST_SHORT_LONG = 87 CAST_SHORT_SHORT = 88 CAST_SHORT_STRINGVALUE = 89 CAST_SHORT_TIMESTAMPVALUE = 90 CAST_STRINGVALUE_CHAR = 91 CAST_STRINGVALUE_DOUBLE = 92 CAST_STRINGVALUE_FLOAT = 93 CAST_STRINGVALUE_INT = 94 CAST_STRINGVALUE_LONG = 95 CAST_STRINGVALUE_SHORT = 96 CAST_STRINGVALUE_TIMESTAMPVALUE = 97 CAST_TIMESTAMPVALUE_BOOL = 98 CAST_TIMESTAMPVALUE_CHAR = 99 CAST_TIMESTAMPVALUE_DOUBLE = 100 CAST_TIMESTAMPVALUE_FLOAT = 101 CAST_TIMESTAMPVALUE_INT = 102 CAST_TIMESTAMPVALUE_LONG = 103 CAST_TIMESTAMPVALUE_SHORT = 104 CAST_TIMESTAMPVALUE_STRINGVALUE = 105 COMPOUND_AND = 106 COMPOUND_NOT = 107 COMPOUND_OR = 108 CONDITIONAL_COALESCE_BOOL_VARARGS = 109 CONDITIONAL_COALESCE_DOUBLE_VARARGS = 110 CONDITIONAL_COALESCE_LONG_VARARGS = 111 CONDITIONAL_COALESCE_STRINGVALUE_VARARGS = 112 CONDITIONAL_COALESCE_TIMESTAMPVALUE_VARARGS = 113 CONDITIONAL_IF_BOOL_BOOL_BOOL = 114 CONDITIONAL_IF_BOOL_DOUBLE_DOUBLE = 115 CONDITIONAL_IF_BOOL_LONG_LONG = 116 CONDITIONAL_IF_BOOL_STRINGVALUE_STRINGVALUE = 117 CONDITIONAL_IF_BOOL_TIMESTAMPVALUE_TIMESTAMPVALUE = 118 CONSTANT_REGEX = 119 CONSTANT_SUBSTRING = 120 DIVIDE = 121 EQ_BOOL_BOOL = 122 EQ_CHAR_CHAR = 123 EQ_DOUBLE_DOUBLE = 124 EQ_FLOAT_FLOAT = 125 EQ_INT_INT = 126 EQ_LONG_LONG = 127 EQ_SHORT_SHORT = 128 EQ_STRINGVALUE_STRINGVALUE = 129 EQ_TIMESTAMPVALUE_TIMESTAMPVALUE = 130 FROM_UNIXTIME_INT = 131 FROM_UNIXTIME_INT_STRINGVALUE = 132 FROM_UTC_TIMESTAMP = 133 GE_BOOL_BOOL = 134 GE_CHAR_CHAR = 135 GE_DOUBLE_DOUBLE = 136 GE_FLOAT_FLOAT = 137 GE_INT_INT = 138 GE_LONG_LONG = 139 GE_SHORT_SHORT = 140 GE_STRINGVALUE_STRINGVALUE = 141 GE_TIMESTAMPVALUE_TIMESTAMPVALUE = 142 GT_BOOL_BOOL = 143 GT_CHAR_CHAR = 144 GT_DOUBLE_DOUBLE = 145 GT_FLOAT_FLOAT = 146 GT_INT_INT = 147 GT_LONG_LONG = 148 GT_SHORT_SHORT = 149 GT_STRINGVALUE_STRINGVALUE = 150 GT_TIMESTAMPVALUE_TIMESTAMPVALUE = 151 INT_DIVIDE_CHAR_CHAR = 152 INT_DIVIDE_INT_INT = 153 INT_DIVIDE_LONG_LONG = 154 INT_DIVIDE_SHORT_SHORT = 155 LE_BOOL_BOOL = 156 LE_CHAR_CHAR = 157 LE_DOUBLE_DOUBLE = 158 LE_FLOAT_FLOAT = 159 LE_INT_INT = 160 LE_LONG_LONG = 161 LE_SHORT_SHORT = 162 LE_STRINGVALUE_STRINGVALUE = 163 LE_TIMESTAMPVALUE_TIMESTAMPVALUE = 164 LIKE = 165 LT_BOOL_BOOL = 166 LT_CHAR_CHAR = 167 LT_DOUBLE_DOUBLE = 168 LT_FLOAT_FLOAT = 169 LT_INT_INT = 170 LT_LONG_LONG = 171 LT_SHORT_SHORT = 172 LT_STRINGVALUE_STRINGVALUE = 173 LT_TIMESTAMPVALUE_TIMESTAMPVALUE = 174 MATH_ABS = 175 MATH_ACOS = 176 MATH_ASIN = 177 MATH_ATAN = 178 MATH_BIN = 179 MATH_CEIL = 180 MATH_CONV_LONG_CHAR_CHAR = 181 MATH_CONV_STRINGVALUE_CHAR_CHAR = 182 MATH_COS = 183 MATH_DEGREES = 184 MATH_E = 185 MATH_EXP = 186 MATH_FLOOR = 187 MATH_HEX_LONG = 188 MATH_HEX_STRINGVALUE = 189 MATH_LN = 190 MATH_LOG = 191 MATH_LOG10 = 192 MATH_LOG2 = 193 MATH_NEGATIVE_DOUBLE = 194 MATH_NEGATIVE_LONG = 195 MATH_PI = 196 MATH_PMOD_DOUBLE_DOUBLE = 197 MATH_PMOD_LONG_LONG = 198 MATH_POSITIVE_DOUBLE = 199 MATH_POSITIVE_LONG = 200 MATH_POW = 201 MATH_RADIANS = 202 MATH_RAND = 203 MATH_RAND_INT = 204 MATH_ROUND_DOUBLE = 205 MATH_ROUND_DOUBLE_INT = 206 MATH_SIGN = 207 MATH_SIN = 208 MATH_SQRT = 209 MATH_TAN = 210 MATH_UNHEX = 211 MOD_CHAR_CHAR = 212 MOD_INT_INT = 213 MOD_LONG_LONG = 214 MOD_SHORT_SHORT = 215 MULTIPLY_DOUBLE_DOUBLE = 216 MULTIPLY_LONG_LONG = 217 NE_BOOL_BOOL = 218 NE_CHAR_CHAR = 219 NE_DOUBLE_DOUBLE = 220 NE_FLOAT_FLOAT = 221 NE_INT_INT = 222 NE_LONG_LONG = 223 NE_SHORT_SHORT = 224 NE_STRINGVALUE_STRINGVALUE = 225 NE_TIMESTAMPVALUE_TIMESTAMPVALUE = 226 REGEX = 227 STRING_ASCII = 228 STRING_CONCAT = 229 STRING_CONCAT_WS = 230 STRING_FIND_IN_SET = 231 STRING_INSTR = 232 STRING_LEFT = 233 STRING_LENGTH = 234 STRING_LOCATE_STRINGVALUE_STRINGVALUE = 235 STRING_LOCATE_STRINGVALUE_STRINGVALUE_INT = 236 STRING_LOWER = 237 STRING_LPAD = 238 STRING_LTRIM = 239 STRING_PARSE_URL_STRINGVALUE_STRINGVALUE = 240 STRING_PARSE_URL_STRINGVALUE_STRINGVALUE_STRINGVALUE = 241 STRING_REGEXP_EXTRACT = 242 STRING_REGEXP_REPLACE = 243 STRING_REPEAT = 244 STRING_REVERSE = 245 STRING_RIGHT = 246 STRING_RPAD = 247 STRING_RTRIM = 248 STRING_SPACE = 249 STRING_SUBSTRING_STRINGVALUE_INT = 250 STRING_SUBSTRING_STRINGVALUE_INT_INT = 251 STRING_TRIM = 252 STRING_UPPER = 253 SUBTRACT_DOUBLE_DOUBLE = 254 SUBTRACT_LONG_LONG = 255 TIMESTAMP_DAY = 256 TIMESTAMP_DAYOFMONTH = 257 TIMESTAMP_DAYS_ADD = 258 TIMESTAMP_DAYS_SUB = 259 TIMESTAMP_DIFF = 260 TIMESTAMP_HOUR = 261 TIMESTAMP_HOURS_ADD = 262 TIMESTAMP_HOURS_SUB = 263 TIMESTAMP_MICROSECONDS_ADD = 264 TIMESTAMP_MICROSECONDS_SUB = 265 TIMESTAMP_MILLISECONDS_ADD = 266 TIMESTAMP_MILLISECONDS_SUB = 267 TIMESTAMP_MINUTE = 268 TIMESTAMP_MINUTES_ADD = 269 TIMESTAMP_MINUTES_SUB = 270 TIMESTAMP_MONTH = 271 TIMESTAMP_MONTHS_ADD = 272 TIMESTAMP_MONTHS_SUB = 273 TIMESTAMP_NANOSECONDS_ADD = 274 TIMESTAMP_NANOSECONDS_SUB = 275 TIMESTAMP_NOW = 276 TIMESTAMP_SECOND = 277 TIMESTAMP_SECONDS_ADD = 278 TIMESTAMP_SECONDS_SUB = 279 TIMESTAMP_TO_DATE = 280 TIMESTAMP_WEEKOFYEAR = 281 TIMESTAMP_WEEKS_ADD = 282 TIMESTAMP_WEEKS_SUB = 283 TIMESTAMP_YEAR = 284 TIMESTAMP_YEARS_ADD = 285 TIMESTAMP_YEARS_SUB = 286 TO_UTC_TIMESTAMP = 287 UNIX_TIMESTAMP = 288 UNIX_TIMESTAMP_STRINGVALUE_STRINGVALUE = 289 UNIX_TIMESTAMP_TIMESTAMPVALUE = 290 UTILITY_VERSION = 291 LAST_OPCODE = 292 VALUE_MAP = { 0 => "INVALID_OPCODE", 1 => "ADD_DOUBLE_DOUBLE", 2 => "ADD_LONG_LONG", 3 => "BITAND_CHAR_CHAR", 4 => "BITAND_INT_INT", 5 => "BITAND_LONG_LONG", 6 => "BITAND_SHORT_SHORT", 7 => "BITNOT_CHAR", 8 => "BITNOT_INT", 9 => "BITNOT_LONG", 10 => "BITNOT_SHORT", 11 => "BITOR_CHAR_CHAR", 12 => "BITOR_INT_INT", 13 => "BITOR_LONG_LONG", 14 => "BITOR_SHORT_SHORT", 15 => "BITXOR_CHAR_CHAR", 16 => "BITXOR_INT_INT", 17 => "BITXOR_LONG_LONG", 18 => "BITXOR_SHORT_SHORT", 19 => "CASE_BOOL", 20 => "CASE_CHAR", 21 => "CASE_DOUBLE", 22 => "CASE_FLOAT", 23 => "CASE_INT", 24 => "CASE_LONG", 25 => "CASE_SHORT", 26 => "CASE_STRINGVALUE", 27 => "CASE_TIMESTAMPVALUE", 28 => "CAST_BOOL_BOOL", 29 => "CAST_BOOL_CHAR", 30 => "CAST_BOOL_DOUBLE", 31 => "CAST_BOOL_FLOAT", 32 => "CAST_BOOL_INT", 33 => "CAST_BOOL_LONG", 34 => "CAST_BOOL_SHORT", 35 => "CAST_BOOL_STRINGVALUE", 36 => "CAST_BOOL_TIMESTAMPVALUE", 37 => "CAST_CHAR_BOOL", 38 => "CAST_CHAR_CHAR", 39 => "CAST_CHAR_DOUBLE", 40 => "CAST_CHAR_FLOAT", 41 => "CAST_CHAR_INT", 42 => "CAST_CHAR_LONG", 43 => "CAST_CHAR_SHORT", 44 => "CAST_CHAR_STRINGVALUE", 45 => "CAST_CHAR_TIMESTAMPVALUE", 46 => "CAST_DOUBLE_BOOL", 47 => "CAST_DOUBLE_CHAR", 48 => "CAST_DOUBLE_DOUBLE", 49 => "CAST_DOUBLE_FLOAT", 50 => "CAST_DOUBLE_INT", 51 => "CAST_DOUBLE_LONG", 52 => "CAST_DOUBLE_SHORT", 53 => "CAST_DOUBLE_STRINGVALUE", 54 => "CAST_DOUBLE_TIMESTAMPVALUE", 55 => "CAST_FLOAT_BOOL", 56 => "CAST_FLOAT_CHAR", 57 => "CAST_FLOAT_DOUBLE", 58 => "CAST_FLOAT_FLOAT", 59 => "CAST_FLOAT_INT", 60 => "CAST_FLOAT_LONG", 61 => "CAST_FLOAT_SHORT", 62 => "CAST_FLOAT_STRINGVALUE", 63 => "CAST_FLOAT_TIMESTAMPVALUE", 64 => "CAST_INT_BOOL", 65 => "CAST_INT_CHAR", 66 => "CAST_INT_DOUBLE", 67 => "CAST_INT_FLOAT", 68 => "CAST_INT_INT", 69 => "CAST_INT_LONG", 70 => "CAST_INT_SHORT", 71 => "CAST_INT_STRINGVALUE", 72 => "CAST_INT_TIMESTAMPVALUE", 73 => "CAST_LONG_BOOL", 74 => "CAST_LONG_CHAR", 75 => "CAST_LONG_DOUBLE", 76 => "CAST_LONG_FLOAT", 77 => "CAST_LONG_INT", 78 => "CAST_LONG_LONG", 79 => "CAST_LONG_SHORT", 80 => "CAST_LONG_STRINGVALUE", 81 => "CAST_LONG_TIMESTAMPVALUE", 82 => "CAST_SHORT_BOOL", 83 => "CAST_SHORT_CHAR", 84 => "CAST_SHORT_DOUBLE", 85 => "CAST_SHORT_FLOAT", 86 => "CAST_SHORT_INT", 87 => "CAST_SHORT_LONG", 88 => "CAST_SHORT_SHORT", 89 => "CAST_SHORT_STRINGVALUE", 90 => "CAST_SHORT_TIMESTAMPVALUE", 91 => "CAST_STRINGVALUE_CHAR", 92 => "CAST_STRINGVALUE_DOUBLE", 93 => "CAST_STRINGVALUE_FLOAT", 94 => "CAST_STRINGVALUE_INT", 95 => "CAST_STRINGVALUE_LONG", 96 => "CAST_STRINGVALUE_SHORT", 97 => "CAST_STRINGVALUE_TIMESTAMPVALUE", 98 => "CAST_TIMESTAMPVALUE_BOOL", 99 => "CAST_TIMESTAMPVALUE_CHAR", 100 => "CAST_TIMESTAMPVALUE_DOUBLE", 101 => "CAST_TIMESTAMPVALUE_FLOAT", 102 => "CAST_TIMESTAMPVALUE_INT", 103 => "CAST_TIMESTAMPVALUE_LONG", 104 => "CAST_TIMESTAMPVALUE_SHORT", 105 => "CAST_TIMESTAMPVALUE_STRINGVALUE", 106 => "COMPOUND_AND", 107 => "COMPOUND_NOT", 108 => "COMPOUND_OR", 109 => "CONDITIONAL_COALESCE_BOOL_VARARGS", 110 => "CONDITIONAL_COALESCE_DOUBLE_VARARGS", 111 => "CONDITIONAL_COALESCE_LONG_VARARGS", 112 => "CONDITIONAL_COALESCE_STRINGVALUE_VARARGS", 113 => "CONDITIONAL_COALESCE_TIMESTAMPVALUE_VARARGS", 114 => "CONDITIONAL_IF_BOOL_BOOL_BOOL", 115 => "CONDITIONAL_IF_BOOL_DOUBLE_DOUBLE", 116 => "CONDITIONAL_IF_BOOL_LONG_LONG", 117 => "CONDITIONAL_IF_BOOL_STRINGVALUE_STRINGVALUE", 118 => "CONDITIONAL_IF_BOOL_TIMESTAMPVALUE_TIMESTAMPVALUE", 119 => "CONSTANT_REGEX", 120 => "CONSTANT_SUBSTRING", 121 => "DIVIDE", 122 => "EQ_BOOL_BOOL", 123 => "EQ_CHAR_CHAR", 124 => "EQ_DOUBLE_DOUBLE", 125 => "EQ_FLOAT_FLOAT", 126 => "EQ_INT_INT", 127 => "EQ_LONG_LONG", 128 => "EQ_SHORT_SHORT", 129 => "EQ_STRINGVALUE_STRINGVALUE", 130 => "EQ_TIMESTAMPVALUE_TIMESTAMPVALUE", 131 => "FROM_UNIXTIME_INT", 132 => "FROM_UNIXTIME_INT_STRINGVALUE", 133 => "FROM_UTC_TIMESTAMP", 134 => "GE_BOOL_BOOL", 135 => "GE_CHAR_CHAR", 136 => "GE_DOUBLE_DOUBLE", 137 => "GE_FLOAT_FLOAT", 138 => "GE_INT_INT", 139 => "GE_LONG_LONG", 140 => "GE_SHORT_SHORT", 141 => "GE_STRINGVALUE_STRINGVALUE", 142 => "GE_TIMESTAMPVALUE_TIMESTAMPVALUE", 143 => "GT_BOOL_BOOL", 144 => "GT_CHAR_CHAR", 145 => "GT_DOUBLE_DOUBLE", 146 => "GT_FLOAT_FLOAT", 147 => "GT_INT_INT", 148 => "GT_LONG_LONG", 149 => "GT_SHORT_SHORT", 150 => "GT_STRINGVALUE_STRINGVALUE", 151 => "GT_TIMESTAMPVALUE_TIMESTAMPVALUE", 152 => "INT_DIVIDE_CHAR_CHAR", 153 => "INT_DIVIDE_INT_INT", 154 => "INT_DIVIDE_LONG_LONG", 155 => "INT_DIVIDE_SHORT_SHORT", 156 => "LE_BOOL_BOOL", 157 => "LE_CHAR_CHAR", 158 => "LE_DOUBLE_DOUBLE", 159 => "LE_FLOAT_FLOAT", 160 => "LE_INT_INT", 161 => "LE_LONG_LONG", 162 => "LE_SHORT_SHORT", 163 => "LE_STRINGVALUE_STRINGVALUE", 164 => "LE_TIMESTAMPVALUE_TIMESTAMPVALUE", 165 => "LIKE", 166 => "LT_BOOL_BOOL", 167 => "LT_CHAR_CHAR", 168 => "LT_DOUBLE_DOUBLE", 169 => "LT_FLOAT_FLOAT", 170 => "LT_INT_INT", 171 => "LT_LONG_LONG", 172 => "LT_SHORT_SHORT", 173 => "LT_STRINGVALUE_STRINGVALUE", 174 => "LT_TIMESTAMPVALUE_TIMESTAMPVALUE", 175 => "MATH_ABS", 176 => "MATH_ACOS", 177 => "MATH_ASIN", 178 => "MATH_ATAN", 179 => "MATH_BIN", 180 => "MATH_CEIL", 181 => "MATH_CONV_LONG_CHAR_CHAR", 182 => "MATH_CONV_STRINGVALUE_CHAR_CHAR", 183 => "MATH_COS", 184 => "MATH_DEGREES", 185 => "MATH_E", 186 => "MATH_EXP", 187 => "MATH_FLOOR", 188 => "MATH_HEX_LONG", 189 => "MATH_HEX_STRINGVALUE", 190 => "MATH_LN", 191 => "MATH_LOG", 192 => "MATH_LOG10", 193 => "MATH_LOG2", 194 => "MATH_NEGATIVE_DOUBLE", 195 => "MATH_NEGATIVE_LONG", 196 => "MATH_PI", 197 => "MATH_PMOD_DOUBLE_DOUBLE", 198 => "MATH_PMOD_LONG_LONG", 199 => "MATH_POSITIVE_DOUBLE", 200 => "MATH_POSITIVE_LONG", 201 => "MATH_POW", 202 => "MATH_RADIANS", 203 => "MATH_RAND", 204 => "MATH_RAND_INT", 205 => "MATH_ROUND_DOUBLE", 206 => "MATH_ROUND_DOUBLE_INT", 207 => "MATH_SIGN", 208 => "MATH_SIN", 209 => "MATH_SQRT", 210 => "MATH_TAN", 211 => "MATH_UNHEX", 212 => "MOD_CHAR_CHAR", 213 => "MOD_INT_INT", 214 => "MOD_LONG_LONG", 215 => "MOD_SHORT_SHORT", 216 => "MULTIPLY_DOUBLE_DOUBLE", 217 => "MULTIPLY_LONG_LONG", 218 => "NE_BOOL_BOOL", 219 => "NE_CHAR_CHAR", 220 => "NE_DOUBLE_DOUBLE", 221 => "NE_FLOAT_FLOAT", 222 => "NE_INT_INT", 223 => "NE_LONG_LONG", 224 => "NE_SHORT_SHORT", 225 => "NE_STRINGVALUE_STRINGVALUE", 226 => "NE_TIMESTAMPVALUE_TIMESTAMPVALUE", 227 => "REGEX", 228 => "STRING_ASCII", 229 => "STRING_CONCAT", 230 => "STRING_CONCAT_WS", 231 => "STRING_FIND_IN_SET", 232 => "STRING_INSTR", 233 => "STRING_LEFT", 234 => "STRING_LENGTH", 235 => "STRING_LOCATE_STRINGVALUE_STRINGVALUE", 236 => "STRING_LOCATE_STRINGVALUE_STRINGVALUE_INT", 237 => "STRING_LOWER", 238 => "STRING_LPAD", 239 => "STRING_LTRIM", 240 => "STRING_PARSE_URL_STRINGVALUE_STRINGVALUE", 241 => "STRING_PARSE_URL_STRINGVALUE_STRINGVALUE_STRINGVALUE", 242 => "STRING_REGEXP_EXTRACT", 243 => "STRING_REGEXP_REPLACE", 244 => "STRING_REPEAT", 245 => "STRING_REVERSE", 246 => "STRING_RIGHT", 247 => "STRING_RPAD", 248 => "STRING_RTRIM", 249 => "STRING_SPACE", 250 => "STRING_SUBSTRING_STRINGVALUE_INT", 251 => "STRING_SUBSTRING_STRINGVALUE_INT_INT", 252 => "STRING_TRIM", 253 => "STRING_UPPER", 254 => "SUBTRACT_DOUBLE_DOUBLE", 255 => "SUBTRACT_LONG_LONG", 256 => "TIMESTAMP_DAY", 257 => "TIMESTAMP_DAYOFMONTH", 258 => "TIMESTAMP_DAYS_ADD", 259 => "TIMESTAMP_DAYS_SUB", 260 => "TIMESTAMP_DIFF", 261 => "TIMESTAMP_HOUR", 262 => "TIMESTAMP_HOURS_ADD", 263 => "TIMESTAMP_HOURS_SUB", 264 => "TIMESTAMP_MICROSECONDS_ADD", 265 => "TIMESTAMP_MICROSECONDS_SUB", 266 => "TIMESTAMP_MILLISECONDS_ADD", 267 => "TIMESTAMP_MILLISECONDS_SUB", 268 => "TIMESTAMP_MINUTE", 269 => "TIMESTAMP_MINUTES_ADD", 270 => "TIMESTAMP_MINUTES_SUB", 271 => "TIMESTAMP_MONTH", 272 => "TIMESTAMP_MONTHS_ADD", 273 => "TIMESTAMP_MONTHS_SUB", 274 => "TIMESTAMP_NANOSECONDS_ADD", 275 => "TIMESTAMP_NANOSECONDS_SUB", 276 => "TIMESTAMP_NOW", 277 => "TIMESTAMP_SECOND", 278 => "TIMESTAMP_SECONDS_ADD", 279 => "TIMESTAMP_SECONDS_SUB", 280 => "TIMESTAMP_TO_DATE", 281 => "TIMESTAMP_WEEKOFYEAR", 282 => "TIMESTAMP_WEEKS_ADD", 283 => "TIMESTAMP_WEEKS_SUB", 284 => "TIMESTAMP_YEAR", 285 => "TIMESTAMP_YEARS_ADD", 286 => "TIMESTAMP_YEARS_SUB", 287 => "TO_UTC_TIMESTAMP", 288 => "UNIX_TIMESTAMP", 289 => "UNIX_TIMESTAMP_STRINGVALUE_STRINGVALUE", 290 => "UNIX_TIMESTAMP_TIMESTAMPVALUE", 291 => "UTILITY_VERSION", 292 => "LAST_OPCODE" } VALID_VALUES = Set.new([INVALID_OPCODE, ADD_DOUBLE_DOUBLE, ADD_LONG_LONG, BITAND_CHAR_CHAR, BITAND_INT_INT, BITAND_LONG_LONG, BITAND_SHORT_SHORT, BITNOT_CHAR, BITNOT_INT, BITNOT_LONG, BITNOT_SHORT, BITOR_CHAR_CHAR, BITOR_INT_INT, BITOR_LONG_LONG, BITOR_SHORT_SHORT, BITXOR_CHAR_CHAR, BITXOR_INT_INT, BITXOR_LONG_LONG, BITXOR_SHORT_SHORT, CASE_BOOL, CASE_CHAR, CASE_DOUBLE, CASE_FLOAT, CASE_INT, CASE_LONG, CASE_SHORT, CASE_STRINGVALUE, CASE_TIMESTAMPVALUE, CAST_BOOL_BOOL, CAST_BOOL_CHAR, CAST_BOOL_DOUBLE, CAST_BOOL_FLOAT, CAST_BOOL_INT, CAST_BOOL_LONG, CAST_BOOL_SHORT, CAST_BOOL_STRINGVALUE, CAST_BOOL_TIMESTAMPVALUE, CAST_CHAR_BOOL, CAST_CHAR_CHAR, CAST_CHAR_DOUBLE, CAST_CHAR_FLOAT, CAST_CHAR_INT, CAST_CHAR_LONG, CAST_CHAR_SHORT, CAST_CHAR_STRINGVALUE, CAST_CHAR_TIMESTAMPVALUE, CAST_DOUBLE_BOOL, CAST_DOUBLE_CHAR, CAST_DOUBLE_DOUBLE, CAST_DOUBLE_FLOAT, CAST_DOUBLE_INT, CAST_DOUBLE_LONG, CAST_DOUBLE_SHORT, CAST_DOUBLE_STRINGVALUE, CAST_DOUBLE_TIMESTAMPVALUE, CAST_FLOAT_BOOL, CAST_FLOAT_CHAR, CAST_FLOAT_DOUBLE, CAST_FLOAT_FLOAT, CAST_FLOAT_INT, CAST_FLOAT_LONG, CAST_FLOAT_SHORT, CAST_FLOAT_STRINGVALUE, CAST_FLOAT_TIMESTAMPVALUE, CAST_INT_BOOL, CAST_INT_CHAR, CAST_INT_DOUBLE, CAST_INT_FLOAT, CAST_INT_INT, CAST_INT_LONG, CAST_INT_SHORT, CAST_INT_STRINGVALUE, CAST_INT_TIMESTAMPVALUE, CAST_LONG_BOOL, CAST_LONG_CHAR, CAST_LONG_DOUBLE, CAST_LONG_FLOAT, CAST_LONG_INT, CAST_LONG_LONG, CAST_LONG_SHORT, CAST_LONG_STRINGVALUE, CAST_LONG_TIMESTAMPVALUE, CAST_SHORT_BOOL, CAST_SHORT_CHAR, CAST_SHORT_DOUBLE, CAST_SHORT_FLOAT, CAST_SHORT_INT, CAST_SHORT_LONG, CAST_SHORT_SHORT, CAST_SHORT_STRINGVALUE, CAST_SHORT_TIMESTAMPVALUE, CAST_STRINGVALUE_CHAR, CAST_STRINGVALUE_DOUBLE, CAST_STRINGVALUE_FLOAT, CAST_STRINGVALUE_INT, CAST_STRINGVALUE_LONG, CAST_STRINGVALUE_SHORT, CAST_STRINGVALUE_TIMESTAMPVALUE, CAST_TIMESTAMPVALUE_BOOL, CAST_TIMESTAMPVALUE_CHAR, CAST_TIMESTAMPVALUE_DOUBLE, CAST_TIMESTAMPVALUE_FLOAT, CAST_TIMESTAMPVALUE_INT, CAST_TIMESTAMPVALUE_LONG, CAST_TIMESTAMPVALUE_SHORT, CAST_TIMESTAMPVALUE_STRINGVALUE, COMPOUND_AND, COMPOUND_NOT, COMPOUND_OR, CONDITIONAL_COALESCE_BOOL_VARARGS, CONDITIONAL_COALESCE_DOUBLE_VARARGS, CONDITIONAL_COALESCE_LONG_VARARGS, CONDITIONAL_COALESCE_STRINGVALUE_VARARGS, CONDITIONAL_COALESCE_TIMESTAMPVALUE_VARARGS, CONDITIONAL_IF_BOOL_BOOL_BOOL, CONDITIONAL_IF_BOOL_DOUBLE_DOUBLE, CONDITIONAL_IF_BOOL_LONG_LONG, CONDITIONAL_IF_BOOL_STRINGVALUE_STRINGVALUE, CONDITIONAL_IF_BOOL_TIMESTAMPVALUE_TIMESTAMPVALUE, CONSTANT_REGEX, CONSTANT_SUBSTRING, DIVIDE, EQ_BOOL_BOOL, EQ_CHAR_CHAR, EQ_DOUBLE_DOUBLE, EQ_FLOAT_FLOAT, EQ_INT_INT, EQ_LONG_LONG, EQ_SHORT_SHORT, EQ_STRINGVALUE_STRINGVALUE, EQ_TIMESTAMPVALUE_TIMESTAMPVALUE, FROM_UNIXTIME_INT, FROM_UNIXTIME_INT_STRINGVALUE, FROM_UTC_TIMESTAMP, GE_BOOL_BOOL, GE_CHAR_CHAR, GE_DOUBLE_DOUBLE, GE_FLOAT_FLOAT, GE_INT_INT, GE_LONG_LONG, GE_SHORT_SHORT, GE_STRINGVALUE_STRINGVALUE, GE_TIMESTAMPVALUE_TIMESTAMPVALUE, GT_BOOL_BOOL, GT_CHAR_CHAR, GT_DOUBLE_DOUBLE, GT_FLOAT_FLOAT, GT_INT_INT, GT_LONG_LONG, GT_SHORT_SHORT, GT_STRINGVALUE_STRINGVALUE, GT_TIMESTAMPVALUE_TIMESTAMPVALUE, INT_DIVIDE_CHAR_CHAR, INT_DIVIDE_INT_INT, INT_DIVIDE_LONG_LONG, INT_DIVIDE_SHORT_SHORT, LE_BOOL_BOOL, LE_CHAR_CHAR, LE_DOUBLE_DOUBLE, LE_FLOAT_FLOAT, LE_INT_INT, LE_LONG_LONG, LE_SHORT_SHORT, LE_STRINGVALUE_STRINGVALUE, LE_TIMESTAMPVALUE_TIMESTAMPVALUE, LIKE, LT_BOOL_BOOL, LT_CHAR_CHAR, LT_DOUBLE_DOUBLE, LT_FLOAT_FLOAT, LT_INT_INT, LT_LONG_LONG, LT_SHORT_SHORT, LT_STRINGVALUE_STRINGVALUE, LT_TIMESTAMPVALUE_TIMESTAMPVALUE, MATH_ABS, MATH_ACOS, MATH_ASIN, MATH_ATAN, MATH_BIN, MATH_CEIL, MATH_CONV_LONG_CHAR_CHAR, MATH_CONV_STRINGVALUE_CHAR_CHAR, MATH_COS, MATH_DEGREES, MATH_E, MATH_EXP, MATH_FLOOR, MATH_HEX_LONG, MATH_HEX_STRINGVALUE, MATH_LN, MATH_LOG, MATH_LOG10, MATH_LOG2, MATH_NEGATIVE_DOUBLE, MATH_NEGATIVE_LONG, MATH_PI, MATH_PMOD_DOUBLE_DOUBLE, MATH_PMOD_LONG_LONG, MATH_POSITIVE_DOUBLE, MATH_POSITIVE_LONG, MATH_POW, MATH_RADIANS, MATH_RAND, MATH_RAND_INT, MATH_ROUND_DOUBLE, MATH_ROUND_DOUBLE_INT, MATH_SIGN, MATH_SIN, MATH_SQRT, MATH_TAN, MATH_UNHEX, MOD_CHAR_CHAR, MOD_INT_INT, MOD_LONG_LONG, MOD_SHORT_SHORT, MULTIPLY_DOUBLE_DOUBLE, MULTIPLY_LONG_LONG, NE_BOOL_BOOL, NE_CHAR_CHAR, NE_DOUBLE_DOUBLE, NE_FLOAT_FLOAT, NE_INT_INT, NE_LONG_LONG, NE_SHORT_SHORT, NE_STRINGVALUE_STRINGVALUE, NE_TIMESTAMPVALUE_TIMESTAMPVALUE, REGEX, STRING_ASCII, STRING_CONCAT, STRING_CONCAT_WS, STRING_FIND_IN_SET, STRING_INSTR, STRING_LEFT, STRING_LENGTH, STRING_LOCATE_STRINGVALUE_STRINGVALUE, STRING_LOCATE_STRINGVALUE_STRINGVALUE_INT, STRING_LOWER, STRING_LPAD, STRING_LTRIM, STRING_PARSE_URL_STRINGVALUE_STRINGVALUE, STRING_PARSE_URL_STRINGVALUE_STRINGVALUE_STRINGVALUE, STRING_REGEXP_EXTRACT, STRING_REGEXP_REPLACE, STRING_REPEAT, STRING_REVERSE, STRING_RIGHT, STRING_RPAD, STRING_RTRIM, STRING_SPACE, STRING_SUBSTRING_STRINGVALUE_INT, STRING_SUBSTRING_STRINGVALUE_INT_INT, STRING_TRIM, STRING_UPPER, SUBTRACT_DOUBLE_DOUBLE, SUBTRACT_LONG_LONG, TIMESTAMP_DAY, TIMESTAMP_DAYOFMONTH, TIMESTAMP_DAYS_ADD, TIMESTAMP_DAYS_SUB, TIMESTAMP_DIFF, TIMESTAMP_HOUR, TIMESTAMP_HOURS_ADD, TIMESTAMP_HOURS_SUB, TIMESTAMP_MICROSECONDS_ADD, TIMESTAMP_MICROSECONDS_SUB, TIMESTAMP_MILLISECONDS_ADD, TIMESTAMP_MILLISECONDS_SUB, TIMESTAMP_MINUTE, TIMESTAMP_MINUTES_ADD, TIMESTAMP_MINUTES_SUB, TIMESTAMP_MONTH, TIMESTAMP_MONTHS_ADD, TIMESTAMP_MONTHS_SUB, TIMESTAMP_NANOSECONDS_ADD, TIMESTAMP_NANOSECONDS_SUB, TIMESTAMP_NOW, TIMESTAMP_SECOND, TIMESTAMP_SECONDS_ADD, TIMESTAMP_SECONDS_SUB, TIMESTAMP_TO_DATE, TIMESTAMP_WEEKOFYEAR, TIMESTAMP_WEEKS_ADD, TIMESTAMP_WEEKS_SUB, TIMESTAMP_YEAR, TIMESTAMP_YEARS_ADD, TIMESTAMP_YEARS_SUB, TO_UTC_TIMESTAMP, UNIX_TIMESTAMP, UNIX_TIMESTAMP_STRINGVALUE_STRINGVALUE, UNIX_TIMESTAMP_TIMESTAMPVALUE, UTILITY_VERSION, LAST_OPCODE]).freeze end end end