Class OracleDBTypeFactory
- java.lang.Object
-
- it.unibz.inf.ontop.model.type.impl.DefaultSQLDBTypeFactory
-
- it.unibz.inf.ontop.model.type.impl.OracleDBTypeFactory
-
- All Implemented Interfaces:
DBTypeFactory,SQLDBTypeFactory
public class OracleDBTypeFactory extends DefaultSQLDBTypeFactory
Remarks: - NUMBER is used both for integers and decimals - Oracle does not have a proper boolean type... A common practice is to use NUMBER(1) Assumption: the default character set of VARCHAR2 on the Oracle instance is expected to contain all the possible characters that can be encountered by the application. NB: on modern instances, it is usually UTF-8, which is safe.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unibz.inf.ontop.model.type.impl.DefaultSQLDBTypeFactory
DefaultSQLDBTypeFactory.DefaultTypeCode
-
Nested classes/interfaces inherited from interface it.unibz.inf.ontop.model.type.DBTypeFactory
DBTypeFactory.Factory
-
-
Field Summary
Fields Modifier and Type Field Description static StringBINARY_DOUBLE_STRstatic StringBINARY_FLOAT_STRstatic StringNUMBER_19_STRstatic StringNUMBER_STRstatic StringNVARCHAR2_STRstatic StringTIMESTAMP_LOCAL_TZ_STRstatic StringTIMESTAMP_TZ_STRstatic StringVARCHAR2_STR-
Fields inherited from class it.unibz.inf.ontop.model.type.impl.DefaultSQLDBTypeFactory
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDBFalseLexicalValue()StringgetDBTrueLexicalValue()-
Methods inherited from class it.unibz.inf.ontop.model.type.impl.DefaultSQLDBTypeFactory
createDefaultSQLCodeMap, createDefaultSQLTypeMap, getAbstractRootDBType, getDBBooleanType, getDBDateTimestampType, getDBDateType, getDBDecimalType, getDBDoubleType, getDBGeographyType, getDBGeometryType, getDBHexBinaryType, getDBLargeIntegerType, getDBNaNLexicalValue, getDBStringType, getDBTermType, getDBTermType, getDBTimeType, getNullLexicalValue, preprocessTypeName, preprocessTypeName, supportsDBDistanceSphere, supportsDBGeographyType, supportsDBGeometryType
-
-
-
-
Field Detail
-
NUMBER_STR
public static final String NUMBER_STR
- See Also:
- Constant Field Values
-
NUMBER_19_STR
public static final String NUMBER_19_STR
- See Also:
- Constant Field Values
-
VARCHAR2_STR
public static final String VARCHAR2_STR
- See Also:
- Constant Field Values
-
NVARCHAR2_STR
public static final String NVARCHAR2_STR
- See Also:
- Constant Field Values
-
BINARY_FLOAT_STR
public static final String BINARY_FLOAT_STR
- See Also:
- Constant Field Values
-
BINARY_DOUBLE_STR
public static final String BINARY_DOUBLE_STR
- See Also:
- Constant Field Values
-
TIMESTAMP_LOCAL_TZ_STR
public static final String TIMESTAMP_LOCAL_TZ_STR
- See Also:
- Constant Field Values
-
TIMESTAMP_TZ_STR
public static final String TIMESTAMP_TZ_STR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDBTrueLexicalValue
public String getDBTrueLexicalValue()
- Specified by:
getDBTrueLexicalValuein interfaceDBTypeFactory- Overrides:
getDBTrueLexicalValuein classDefaultSQLDBTypeFactory
-
getDBFalseLexicalValue
public String getDBFalseLexicalValue()
- Specified by:
getDBFalseLexicalValuein interfaceDBTypeFactory- Overrides:
getDBFalseLexicalValuein classDefaultSQLDBTypeFactory
-
-