com.databricks.jdbc.client.impl.thrift.generated.TCLIServiceConstants Maven / Gradle / Ivy
/**
* Autogenerated by Thrift Compiler (0.19.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
*/
package com.databricks.jdbc.client.impl.thrift.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
public class TCLIServiceConstants {
public static final java.util.Set PRIMITIVE_TYPES =
java.util.EnumSet.noneOf(TTypeId.class);
static {
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.BOOLEAN_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.TINYINT_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.SMALLINT_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.INT_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.BIGINT_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.FLOAT_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.DOUBLE_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.STRING_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.TIMESTAMP_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.BINARY_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.DECIMAL_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.NULL_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.DATE_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.VARCHAR_TYPE);
PRIMITIVE_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.CHAR_TYPE);
PRIMITIVE_TYPES.add(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.INTERVAL_YEAR_MONTH_TYPE);
PRIMITIVE_TYPES.add(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.INTERVAL_DAY_TIME_TYPE);
}
public static final java.util.Set COMPLEX_TYPES =
java.util.EnumSet.noneOf(TTypeId.class);
static {
COMPLEX_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.ARRAY_TYPE);
COMPLEX_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.MAP_TYPE);
COMPLEX_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.STRUCT_TYPE);
COMPLEX_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.UNION_TYPE);
COMPLEX_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.USER_DEFINED_TYPE);
}
public static final java.util.Set COLLECTION_TYPES =
java.util.EnumSet.noneOf(TTypeId.class);
static {
COLLECTION_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.ARRAY_TYPE);
COLLECTION_TYPES.add(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.MAP_TYPE);
}
public static final java.util.Map TYPE_NAMES =
new java.util.EnumMap(TTypeId.class);
static {
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.ARRAY_TYPE, "ARRAY");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.BIGINT_TYPE, "BIGINT");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.BINARY_TYPE, "BINARY");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.BOOLEAN_TYPE, "BOOLEAN");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.CHAR_TYPE, "CHAR");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.DATE_TYPE, "DATE");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.DECIMAL_TYPE, "DECIMAL");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.DOUBLE_TYPE, "DOUBLE");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.FLOAT_TYPE, "FLOAT");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.INTERVAL_DAY_TIME_TYPE,
"INTERVAL_DAY_TIME");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.INTERVAL_YEAR_MONTH_TYPE,
"INTERVAL_YEAR_MONTH");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.INT_TYPE, "INT");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.MAP_TYPE, "MAP");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.NULL_TYPE, "NULL");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.SMALLINT_TYPE, "SMALLINT");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.STRING_TYPE, "STRING");
TYPE_NAMES.put(com.databricks.jdbc.client.impl.thrift.generated.TTypeId.STRUCT_TYPE, "STRUCT");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.TIMESTAMP_TYPE, "TIMESTAMP");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.TINYINT_TYPE, "TINYINT");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.UNION_TYPE, "UNIONTYPE");
TYPE_NAMES.put(
com.databricks.jdbc.client.impl.thrift.generated.TTypeId.VARCHAR_TYPE, "VARCHAR");
}
public static final java.lang.String CHARACTER_MAXIMUM_LENGTH = "characterMaximumLength";
public static final java.lang.String PRECISION = "precision";
public static final java.lang.String SCALE = "scale";
}