Get an array of all type values. @return byte array with an entry for each type.
()
| 234 | * @return byte array with an entry for each type. |
| 235 | */ |
| 236 | public static byte[] genAllTypes(){ |
| 237 | byte[] types = { DataType.BAG, DataType.BIGCHARARRAY, DataType.BOOLEAN, DataType.BYTE, DataType.BYTEARRAY, |
| 238 | DataType.CHARARRAY, DataType.DOUBLE, DataType.FLOAT, DataType.DATETIME, |
| 239 | DataType.GENERIC_WRITABLECOMPARABLE, |
| 240 | DataType.INTEGER, DataType.INTERNALMAP, |
| 241 | DataType.LONG, DataType.MAP, DataType.TUPLE, DataType.BIGINTEGER, DataType.BIGDECIMAL}; |
| 242 | return types; |
| 243 | } |
| 244 | |
| 245 | private static String[] genAllTypeNames(){ |
| 246 | String[] names = { "BAG", "BIGCHARARRAY", "BOOLEAN", "BYTE", "BYTEARRAY", |
no outgoing calls