3 package com.cloudera.impala.catalog;
5 import java.util.HashMap;
12 new HashMap<Type, String>();
17 typeToColumnNameMap_.put(
Type.INT,
"int_col");
18 typeToColumnNameMap_.put(
Type.BIGINT,
"bigint_col");
19 typeToColumnNameMap_.put(
Type.FLOAT,
"float_col");
20 typeToColumnNameMap_.put(
Type.DOUBLE,
"double_col");
21 typeToColumnNameMap_.put(
Type.DATE,
"date_col");
24 typeToColumnNameMap_.put(
Type.STRING,
"string_col");
32 return typeToColumnNameMap_.get(type);
static String getComplexTypeTableName(String type)
static final ScalarType BIGINT
static final ScalarType DATE
static final ScalarType STRING
static final ScalarType BOOLEAN
static final ScalarType SMALLINT
static final ScalarType FLOAT
static final ScalarType DOUBLE
static final ScalarType TINYINT
static final ScalarType INT
static String getAllTypesColumn(Type type)
static Map< Type, String > typeToColumnNameMap_
static final ScalarType DATETIME
static final ScalarType TIMESTAMP