Class PostgreSQLDBTypeFactory
- java.lang.Object
-
- it.unibz.inf.ontop.model.type.impl.DefaultSQLDBTypeFactory
-
- it.unibz.inf.ontop.model.type.impl.PostgreSQLDBTypeFactory
-
- All Implemented Interfaces:
DBTypeFactory,SQLDBTypeFactory
public class PostgreSQLDBTypeFactory extends DefaultSQLDBTypeFactory
-
-
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 protected static StringBIGSERIAL_STRprotected static StringBIT_STRstatic StringBOOL_STRprotected static StringBPCHAR_STRprotected static StringFLOAT4_STRprotected static StringFLOAT8_STRprotected static StringGEOGRAPHY_STRprotected static StringGEOMETRY_STRprotected static StringINT2_STRprotected static StringINT4_STRprotected static StringINT8_STRprotected static StringNAME_STRstatic StringSERIAL_STRprotected static StringSMALLSERIAL_STRstatic StringTIMESTAMPTZ_STRstatic StringTIMETZ_STRstatic StringUUID_STRprotected static StringVARBIT_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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPostgreSQLDBTypeFactory(TermType rootTermType, TypeFactory typeFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<DefaultSQLDBTypeFactory.DefaultTypeCode,String>createPostgreSQLCodeMap()protected static Map<String,DBTermType>createPostgreSQLTypeMap(TermType rootTermType, TypeFactory typeFactory)booleansupportsDBDistanceSphere()booleansupportsDBGeographyType()booleansupportsDBGeometryType()-
Methods inherited from class it.unibz.inf.ontop.model.type.impl.DefaultSQLDBTypeFactory
createDefaultSQLCodeMap, createDefaultSQLTypeMap, getAbstractRootDBType, getDBBooleanType, getDBDateTimestampType, getDBDateType, getDBDecimalType, getDBDoubleType, getDBFalseLexicalValue, getDBGeographyType, getDBGeometryType, getDBHexBinaryType, getDBLargeIntegerType, getDBNaNLexicalValue, getDBStringType, getDBTermType, getDBTermType, getDBTimeType, getDBTrueLexicalValue, getNullLexicalValue, preprocessTypeName, preprocessTypeName
-
-
-
-
Field Detail
-
VARBIT_STR
protected static final String VARBIT_STR
- See Also:
- Constant Field Values
-
BIT_STR
protected static final String BIT_STR
- See Also:
- Constant Field Values
-
INT2_STR
protected static final String INT2_STR
- See Also:
- Constant Field Values
-
INT4_STR
protected static final String INT4_STR
- See Also:
- Constant Field Values
-
INT8_STR
protected static final String INT8_STR
- See Also:
- Constant Field Values
-
FLOAT4_STR
protected static final String FLOAT4_STR
- See Also:
- Constant Field Values
-
FLOAT8_STR
protected static final String FLOAT8_STR
- See Also:
- Constant Field Values
-
SMALLSERIAL_STR
protected static final String SMALLSERIAL_STR
- See Also:
- Constant Field Values
-
SERIAL_STR
public static final String SERIAL_STR
- See Also:
- Constant Field Values
-
BIGSERIAL_STR
protected static final String BIGSERIAL_STR
- See Also:
- Constant Field Values
-
BPCHAR_STR
protected static final String BPCHAR_STR
- See Also:
- Constant Field Values
-
NAME_STR
protected static final String NAME_STR
- See Also:
- Constant Field Values
-
TIMESTAMPTZ_STR
public static final String TIMESTAMPTZ_STR
- See Also:
- Constant Field Values
-
TIMETZ_STR
public static final String TIMETZ_STR
- See Also:
- Constant Field Values
-
BOOL_STR
public static final String BOOL_STR
- See Also:
- Constant Field Values
-
UUID_STR
public static final String UUID_STR
- See Also:
- Constant Field Values
-
GEOMETRY_STR
protected static final String GEOMETRY_STR
- See Also:
- Constant Field Values
-
GEOGRAPHY_STR
protected static final String GEOGRAPHY_STR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PostgreSQLDBTypeFactory
protected PostgreSQLDBTypeFactory(TermType rootTermType, TypeFactory typeFactory)
-
-
Method Detail
-
createPostgreSQLTypeMap
protected static Map<String,DBTermType> createPostgreSQLTypeMap(TermType rootTermType, TypeFactory typeFactory)
-
createPostgreSQLCodeMap
protected static it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<DefaultSQLDBTypeFactory.DefaultTypeCode,String> createPostgreSQLCodeMap()
-
supportsDBGeometryType
public boolean supportsDBGeometryType()
- Specified by:
supportsDBGeometryTypein interfaceDBTypeFactory- Overrides:
supportsDBGeometryTypein classDefaultSQLDBTypeFactory
-
supportsDBGeographyType
public boolean supportsDBGeographyType()
- Specified by:
supportsDBGeographyTypein interfaceDBTypeFactory- Overrides:
supportsDBGeographyTypein classDefaultSQLDBTypeFactory
-
supportsDBDistanceSphere
public boolean supportsDBDistanceSphere()
- Specified by:
supportsDBDistanceSpherein interfaceDBTypeFactory- Overrides:
supportsDBDistanceSpherein classDefaultSQLDBTypeFactory
-
-