public class MySQLDBTypeFactory extends DefaultSQLDBTypeFactory
DefaultSQLDBTypeFactory.DefaultTypeCode| Modifier and Type | Field and Description |
|---|---|
static String |
BIT_ONE_STR |
static String |
BIT_STR |
static String |
DATETIME_STR |
protected static String |
ENUM_STR |
protected static String |
LONGBLOB_STR |
protected static String |
LONGTEXT_STR |
protected static String |
MEDIUMBLOB_STR |
protected static String |
MEDIUMINT_STR |
protected static String |
MEDIUMTEXT_STR |
protected static String |
SET_STR |
protected static String |
TINYBLOB_STR |
protected static String |
TINYTEXT_STR |
protected static String |
UNSIGNED_SUFFIX |
static String |
YEAR_STR |
ABSTRACT_DB_TYPE_STR, BIGINT_STR, BINARY_LARGE_STR, BINARY_STR, BINARY_VAR_STR, BLOB_STR, BOOLEAN_STR, CHAR_LARGE_STR, CHAR_STR, CHAR_VAR_STR, CHARACTER_STR, CLOB_STR, DATE_STR, DECIMAL_STR, defaultStrictEqSupport, DOUBLE_PREC_STR, DOUBLE_STR, FLOAT_STR, INT_STR, INTEGER_STR, NATIONAL_CHAR_LARGE_STR, NATIONAL_CHAR_STR, NATIONAL_CHAR_VAR_STR, NATIONAL_TEXT_STR, NCHAR_STR, NTEXT_STR, NUMERIC_STR, NVARCHAR_STR, REAL_STR, SMALLINT_STR, TEXT_STR, TIME_STR, TIMESTAMP_STR, TINYINT_STR, VARBINARY_STR, VARCHAR_STR| Modifier | Constructor and Description |
|---|---|
protected |
MySQLDBTypeFactory(it.unibz.inf.ontop.model.type.TermType rootTermType,
it.unibz.inf.ontop.model.type.TypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected static com.google.common.collect.ImmutableMap<DefaultSQLDBTypeFactory.DefaultTypeCode,String> |
createMySQLCodeMap() |
protected static Map<String,it.unibz.inf.ontop.model.type.DBTermType> |
createMySQLTypeMap(it.unibz.inf.ontop.model.type.TermType rootTermType,
it.unibz.inf.ontop.model.type.TypeFactory typeFactory) |
String |
getDBFalseLexicalValue()
NB: FALSE is an alias of 0
|
Optional<String> |
getDBNaNLexicalValue() |
String |
getDBTrueLexicalValue()
NB: TRUE is an alias of 1
|
protected String |
preprocessTypeName(String typeName)
Keeps the parameters for BIT(1).
|
protected String |
preprocessTypeName(String typeName,
int columnSize)
Transforms (BIT, 1) and (TINYINT, 1) into BIT(1) and BOOLEAN (alias)
|
createDefaultSQLCodeMap, createDefaultSQLTypeMap, getAbstractRootDBType, getDBBooleanType, getDBDateTimestampType, getDBDateType, getDBDecimalType, getDBDoubleType, getDBHexBinaryType, getDBLargeIntegerType, getDBStringType, getDBTermType, getDBTermType, getDBTimeType, getNullLexicalValuepublic static final String BIT_STR
public static final String BIT_ONE_STR
protected static final String TINYBLOB_STR
protected static final String MEDIUMBLOB_STR
protected static final String LONGBLOB_STR
protected static final String TINYTEXT_STR
protected static final String MEDIUMTEXT_STR
protected static final String LONGTEXT_STR
protected static final String SET_STR
protected static final String ENUM_STR
protected static final String MEDIUMINT_STR
protected static final String UNSIGNED_SUFFIX
public static final String YEAR_STR
public static final String DATETIME_STR
protected MySQLDBTypeFactory(it.unibz.inf.ontop.model.type.TermType rootTermType,
it.unibz.inf.ontop.model.type.TypeFactory typeFactory)
protected static Map<String,it.unibz.inf.ontop.model.type.DBTermType> createMySQLTypeMap(it.unibz.inf.ontop.model.type.TermType rootTermType, it.unibz.inf.ontop.model.type.TypeFactory typeFactory)
protected static com.google.common.collect.ImmutableMap<DefaultSQLDBTypeFactory.DefaultTypeCode,String> createMySQLCodeMap()
public Optional<String> getDBNaNLexicalValue()
getDBNaNLexicalValue in interface it.unibz.inf.ontop.model.type.DBTypeFactorygetDBNaNLexicalValue in class DefaultSQLDBTypeFactoryprotected String preprocessTypeName(String typeName)
preprocessTypeName in class DefaultSQLDBTypeFactoryprotected String preprocessTypeName(String typeName, int columnSize)
preprocessTypeName in class DefaultSQLDBTypeFactorypublic String getDBTrueLexicalValue()
getDBTrueLexicalValue in interface it.unibz.inf.ontop.model.type.DBTypeFactorygetDBTrueLexicalValue in class DefaultSQLDBTypeFactorypublic String getDBFalseLexicalValue()
getDBFalseLexicalValue in interface it.unibz.inf.ontop.model.type.DBTypeFactorygetDBFalseLexicalValue in class DefaultSQLDBTypeFactoryCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.