| /** |
| * Autogenerated by Thrift Compiler (0.16.0) |
| * |
| * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
| * @generated |
| */ |
| #include "serde_constants.h" |
| |
| namespace Hive { |
| |
| const serdeConstants g_serde_constants; |
| |
| serdeConstants::serdeConstants() { |
| SERIALIZATION_LIB = "serialization.lib"; |
| |
| SERIALIZATION_CLASS = "serialization.class"; |
| |
| SERIALIZATION_FORMAT = "serialization.format"; |
| |
| SERIALIZATION_DDL = "serialization.ddl"; |
| |
| SERIALIZATION_NULL_FORMAT = "serialization.null.format"; |
| |
| SERIALIZATION_ESCAPE_CRLF = "serialization.escape.crlf"; |
| |
| SERIALIZATION_LAST_COLUMN_TAKES_REST = "serialization.last.column.takes.rest"; |
| |
| SERIALIZATION_SORT_ORDER = "serialization.sort.order"; |
| |
| SERIALIZATION_NULL_SORT_ORDER = "serialization.sort.order.null"; |
| |
| SERIALIZATION_USE_JSON_OBJECTS = "serialization.use.json.object"; |
| |
| SERIALIZATION_ENCODING = "serialization.encoding"; |
| |
| FIELD_DELIM = "field.delim"; |
| |
| COLLECTION_DELIM = "collection.delim"; |
| |
| LINE_DELIM = "line.delim"; |
| |
| MAPKEY_DELIM = "mapkey.delim"; |
| |
| QUOTE_CHAR = "quote.delim"; |
| |
| ESCAPE_CHAR = "escape.delim"; |
| |
| HEADER_COUNT = "skip.header.line.count"; |
| |
| FOOTER_COUNT = "skip.footer.line.count"; |
| |
| VOID_TYPE_NAME = "void"; |
| |
| BOOLEAN_TYPE_NAME = "boolean"; |
| |
| TINYINT_TYPE_NAME = "tinyint"; |
| |
| SMALLINT_TYPE_NAME = "smallint"; |
| |
| INT_TYPE_NAME = "int"; |
| |
| BIGINT_TYPE_NAME = "bigint"; |
| |
| FLOAT_TYPE_NAME = "float"; |
| |
| DOUBLE_TYPE_NAME = "double"; |
| |
| STRING_TYPE_NAME = "string"; |
| |
| CHAR_TYPE_NAME = "char"; |
| |
| VARCHAR_TYPE_NAME = "varchar"; |
| |
| DATE_TYPE_NAME = "date"; |
| |
| DATETIME_TYPE_NAME = "datetime"; |
| |
| TIMESTAMP_TYPE_NAME = "timestamp"; |
| |
| DECIMAL_TYPE_NAME = "decimal"; |
| |
| BINARY_TYPE_NAME = "binary"; |
| |
| INTERVAL_YEAR_MONTH_TYPE_NAME = "interval_year_month"; |
| |
| INTERVAL_DAY_TIME_TYPE_NAME = "interval_day_time"; |
| |
| TIMESTAMPLOCALTZ_TYPE_NAME = "timestamp with local time zone"; |
| |
| LIST_TYPE_NAME = "array"; |
| |
| MAP_TYPE_NAME = "map"; |
| |
| STRUCT_TYPE_NAME = "struct"; |
| |
| UNION_TYPE_NAME = "uniontype"; |
| |
| LIST_COLUMNS = "columns"; |
| |
| LIST_COLUMN_TYPES = "columns.types"; |
| |
| LIST_PARTITION_COLUMNS = "partition.columns"; |
| |
| LIST_PARTITION_COLUMN_TYPES = "partition.columns.types"; |
| |
| LIST_COLUMN_COMMENTS = "columns.comments"; |
| |
| LIST_PARTITION_COLUMN_COMMENTS = "partition.columns.comments"; |
| |
| TIMESTAMP_FORMATS = "timestamp.formats"; |
| |
| COLUMN_NAME_DELIMITER = "column.name.delimiter"; |
| |
| PrimitiveTypes.insert("void"); |
| PrimitiveTypes.insert("boolean"); |
| PrimitiveTypes.insert("tinyint"); |
| PrimitiveTypes.insert("smallint"); |
| PrimitiveTypes.insert("int"); |
| PrimitiveTypes.insert("bigint"); |
| PrimitiveTypes.insert("float"); |
| PrimitiveTypes.insert("double"); |
| PrimitiveTypes.insert("string"); |
| PrimitiveTypes.insert("varchar"); |
| PrimitiveTypes.insert("char"); |
| PrimitiveTypes.insert("date"); |
| PrimitiveTypes.insert("datetime"); |
| PrimitiveTypes.insert("timestamp"); |
| PrimitiveTypes.insert("interval_year_month"); |
| PrimitiveTypes.insert("interval_day_time"); |
| PrimitiveTypes.insert("decimal"); |
| PrimitiveTypes.insert("binary"); |
| PrimitiveTypes.insert("timestamp with local time zone"); |
| |
| CollectionTypes.insert("array"); |
| CollectionTypes.insert("map"); |
| |
| IntegralTypes.insert("tinyint"); |
| IntegralTypes.insert("smallint"); |
| IntegralTypes.insert("int"); |
| IntegralTypes.insert("bigint"); |
| |
| } |
| |
| } // namespace |
| |