Sha256: 17d6387d7e848db7d9c34cab024435b4b316c888099630c204250800efe7bf89

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

#
# Autogenerated by Thrift
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#

require File.join(File.dirname(__FILE__), *%w[serde_types])

SERIALIZATION_LIB = %q"serialization.lib"

SERIALIZATION_CLASS = %q"serialization.class"

SERIALIZATION_FORMAT = %q"serialization.format"

SERIALIZATION_DDL = %q"serialization.ddl"

SERIALIZATION_NULL_FORMAT = %q"serialization.null.format"

SERIALIZATION_LAST_COLUMN_TAKES_REST = %q"serialization.last.column.takes.rest"

SERIALIZATION_SORT_ORDER = %q"serialization.sort.order"

FIELD_DELIM = %q"field.delim"

COLLECTION_DELIM = %q"colelction.delim"

LINE_DELIM = %q"line.delim"

MAPKEY_DELIM = %q"mapkey.delim"

QUOTE_CHAR = %q"quote.delim"

ESCAPE_CHAR = %q"escape.delim"

VOID_TYPE_NAME = %q"void"

BOOLEAN_TYPE_NAME = %q"boolean"

TINYINT_TYPE_NAME = %q"tinyint"

SMALLINT_TYPE_NAME = %q"smallint"

INT_TYPE_NAME = %q"int"

BIGINT_TYPE_NAME = %q"bigint"

FLOAT_TYPE_NAME = %q"float"

DOUBLE_TYPE_NAME = %q"double"

STRING_TYPE_NAME = %q"string"

DATE_TYPE_NAME = %q"date"

DATETIME_TYPE_NAME = %q"datetime"

TIMESTAMP_TYPE_NAME = %q"timestamp"

LIST_TYPE_NAME = %q"array"

MAP_TYPE_NAME = %q"map"

STRUCT_TYPE_NAME = %q"struct"

LIST_COLUMNS = %q"columns"

LIST_COLUMN_TYPES = %q"columns.types"

PrimitiveTypes = Set.new([
  %q"void",
  %q"boolean",
  %q"tinyint",
  %q"smallint",
  %q"int",
  %q"bigint",
  %q"float",
  %q"double",
  %q"string",
  %q"date",
  %q"datetime",
  %q"timestamp",
])

CollectionTypes = Set.new([
  %q"array",
  %q"map",
])

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rbhive-0.1.1 lib/thrift/serde_constants.rb
rbhive-0.1.0 lib/thrift/serde_constants.rb